I have a bunch of lines all with 2 points and I want each line point that is connected to vertex to move to the position to the ones connect to vertex, so that way all my points for each line goes to the center of each vertex 0, I can do it with a for each loop but I would like to make it work with a wrangle.
I tried that on a primitive wrangle but it didn't work:
vector vtx0 = vertex(geoself(),“P”,@primnum,0);
setpointattrib(geoself(),“P”,@ptnum,vtx0,“set”);
Any tips?
Move points to vertex position
2128 3 0- mzigaib
- Member
- 948 posts
- Joined: April 2008
- Offline
- mzigaib
- Member
- 948 posts
- Joined: April 2008
- Offline
- TwinSnakes007
- Member
- 605 posts
- Joined: July 2013
- Online
- mzigaib
- Member
- 948 posts
- Joined: April 2008
- Offline
I should had explained better my objective I am sorry.
The thing that I am trying to do is to move constraints connections extremities or anchors to a single point in that case I am choosing the first vertex position of the connection line to have both anchor in the same position and I am trying to do it with a wrangle.
Is that make sense to you?
The thing that I am trying to do is to move constraints connections extremities or anchors to a single point in that case I am choosing the first vertex position of the connection line to have both anchor in the same position and I am trying to do it with a wrangle.
Is that make sense to you?
Edited by mzigaib - July 12, 2016 01:16:06
-
- Quick Links