Code Red > .NET
Object names for selection sets
(1/1)
pjm8765:
I could have sworn I have seen a reference that lists all of the major object names that can be provided as a filter rule for a selection set:
--- Code: ---typedArray.SetValue(new TypedValue((int)DxfCode.Start, "INSERT"), 0);
--- End code ---
So, an INSERT is obviously a block reference ( :thinking:) and CIRCLE and LINE are also obvious. But what about a dimension and the rest of the objects? Any pointers, much appreciated.
Keith Brown:
I believe that you just use the DXFName. That is the name that pops up when you List the object at the command line.
huiz:
You can use the LIST command in AutoCAD to check the object DXF name.
huiz:
Here is a DXF Reference file:
https://images.autodesk.com/adsk/files/autocad_2012_pdf_dxf-reference_enu.pdf
Different objects are described from page 61.
pjm8765:
Thanks very, that reference will come in very handy.
Navigation
[0] Message Index
Go to full version