Select to view content in your preferred language

how can i measure lots edges length in CGA ?

875
2
02-12-2017 07:13 AM
Mohammadbabaei
Deactivated User

Hello

i want to measure edges or a line's length with CGA grammar 

the solution i thought was comp the vertexes and get position then use distance formula , but the problem is i cannot have 2 points position in 1 tree to use formula .

I tried to set attr but it returns empty value in other leafs when i want to use 

0 Kudos
2 Replies
LR
by
Frequent Contributor

Try comp(e){all: print (scope.sx)}.

0 Kudos
Mohammadbabaei
Deactivated User

wow tanx it simply worked 

0 Kudos