Site Tools


This is an old revision of the document!


Formulas in Dimensions

Question:

I’m using the default “automatic” dimension value feature (eg “<>”) when I annotate 2D objects I want to create a detail view of a piece of a 2D object - while preserving the original dimensions.

At present, I make a copy of the 2D object, scale it as desired, and then replace the “<>” dimension properties with a hand coded dimension value. This is tedious and prone to error.

So my question is this…is there way to add a calculation to operated on the the automatic value (i.e. “<>”) of the dimension?

Answer:

If the text begins with a % and ends in a %, then python function parser considers it a parsable function or calculation. There my be additional operators in python that you can try, but here are the most common.

You can use the Properties → Text properties page or the TextEdit command to edit the Dimension Text with the following operations or calculations.

Try these:

Operation Example Description
Multiplication%<<>*2>%Multiplies <> by n
Division (Float) %<<>/2>%Divides <> by n
Subtraction %<<>-2>%Subtracts <> and n
Addition %<<>+2>%Adds <> and n
Square%<(<>**2)>%Computes the square root of <>
Power%<(<>**X)>%Raises <> to the nth power
Square Root%<(<>**0.5)>%Computes the square root of <>
Division (Integer)%<(<>//2)>%Divides <> by n
Modulus%<(<>//2)>%Divides <> by n, returns remainder
rhino/faq/formuals-in-dimension.1770237055.txt.gz · Last modified: 2026/02/04 by dale