07-23-2016, 12:52 PM
Continuing to work with the ArtVector, in AI6 I click on several one-segment curved or straight paths at the point where they intersect. I get a vector with the correct number of entries. Whether I access the art object or its path directly or via a variable:
thisArt->artType();
or
(*iter)->artType();
I seem to be able to retrieve information such as art type or selected state, but am unable to set its selected property to true. I can access the path and again read information such as number of segments, but cannot perform functions on it such as insertSegPointAtT. It's as though I'm working with a hidden copy of the art, which disappears when my function ends.
Is there a recommended approach I should be using? -- Rick
thisArt->artType();
or
(*iter)->artType();
I seem to be able to retrieve information such as art type or selected state, but am unable to set its selected property to true. I can access the path and again read information such as number of segments, but cannot perform functions on it such as insertSegPointAtT. It's as though I'm working with a hidden copy of the art, which disappears when my function ends.
Is there a recommended approach I should be using? -- Rick