I have a large number of sample lines that I would like to change the swath widths for. I am unaware of a direct method within AutoCAD for this. I see that the IAeccSampleLine object has a Vertices property that appears to be the only object that determines the swath width. A dump of this object produces:
; IAeccSampleLineVertices: IAeccSampleLineVertices interface
; Property values:
; Count (RO) = 2
; CountLeft (RO) = 1
; CountRight (RO) = 1
I need to know how change the swath widths all at once and/or how to get and put the values for these Vertices.
@coopdetat wrote:
I have a large number of sample lines that I would like to change the swath widths for. I am unaware of a direct method within AutoCAD for this.
In C3D you can edit many at once. Select a sample line, right-click, choose Sample Line Group Properties. Select the Sample Lines tab, then select the group of sample lines you want to edit the width(s) of:
Click on any one of the swath width values and enter the new width:
Hit Enter and all of those selected will update to the new width.
You can edit the other side's width now if desired.
As for doing this in Lisp, I attempted to write something in C3D2008 and could never get the sample lines to update. Perhaps things have gotten better in that department, but since this method has been added to the core product I never revisited the lisp route.