Also, a dwg can only have a max of 256 SelectionSets, so you don't want to just keep adding ss's | Sub SelectionSetFilterTable Dim filterType 0 As Integer Dim filterData 0 As Variant Dim MySelection As AcadSelectionSet On Error Resume Next ThisDrawing |
---|---|
Or if you already got "Automation Error" find on web, perhaps it's related to library downloaded, or something like as | May not have the correct Reference selected |
I hope how above will help you more.
Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service | Bye Looking for syntax on debug to Print Object Type |
---|---|
GetCellValue MyRow, MyCol End if So these are the reasons to inserting a selectionset filter functionality, in order to distinguish object where you need to do something from all the others in the drawing | Select acSelectionSetAll, , , filterType, filterData If MySelection |
If you try to add an ss with a name that already exists, you'll get a runtime error | |
---|---|
The following worked for me |
' Integer Value Array Type filterData.