Hi all, I have another silly question, Please I need to find out positions (x y z) for every vertex in selection, how can do it in Javascript ?
Thanks
Vertex position
-
xsisupport
- Posts: 713
- Joined: 09 Jun 2009, 09:02
- Location: Montreal Canada
Re: Vertex position
You can use the ComponentCollection.
Assuming some points are selected on a mesh:
Assuming some points are selected on a mesh:
Code: Select all
x = new VBArray( selection(0).SubComponent.ComponentCollection.PositionArray ).toArray()
LogMessage( x )
-
sOBE
- Posts: 25
- Joined: 30 Apr 2012, 08:31