Hi,
I have an outline shape selected. To reduce the number of nodes, I do it manually as:
1. Click Shape Tool
2. Click "Select all nodes" button on the toolbar
3, Click Reduce nodes button on the toolbar
That works fine but how do I achieve this in VBA?
I tried this:
shp.Curve.Nodes.All.AutoReduce (0.5)
But the results don't match with the result of manual work. Further, the manual work did not require any "Precision Margin" value like 0.5 here.
Thanks.
Mehdi
It might help if you could explain exactly what you are trying to accomplish, and show specific examples where you CAN do what you want using the button on the Property Bar, but CANNOT do it using AutoReduce in a macro.
That's a nice little trick there! I'll be using that. How do you retrieve the GUID for object?
The reason I don't like Autoreduce in code is how is how it can change artwork. For laser cut parts that's really not good!