how can i measure lots edges length in CGA ?

792
2
02-12-2017 07:13 AM
Mohammadbabaei
New Contributor

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
Occasional Contributor III

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

0 Kudos
Mohammadbabaei
New Contributor

wow tanx it simply worked 

0 Kudos