Message 1 of 9
common dxf group 410 to filter Blocks on the current Layout?

Not applicable
06-12-2001
07:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Why does this not work?
I'm trying to filter all blocks within the active layout. as soon as i try
to use the common dxf group 410 to filter Blocks on the current Layout the
selectionset is empty.
Dim gpCode(1) As Integer
Dim dataValue(1) As Variant
gpCode(0) = 410 ' common group for Layout
gpCode(1) = 0
dataValue(0) = ThisDrawing.ActiveLayout.Name ' current Layout Name
dataValue(1) = "INSERT" ' value for Group 2
Dim groupCode As Variant, dataCode As Variant
groupCode = gpCode
dataCode = dataValue
ssetObj.Select acSelectionSetAll, , , groupCode, dataCode
--
--
Geuko Rooseboom
Decoprojekt
+31-315-270 856
g.rooseboom@decoprojekt.nl
Why does this not work?
I'm trying to filter all blocks within the active layout. as soon as i try
to use the common dxf group 410 to filter Blocks on the current Layout the
selectionset is empty.
Dim gpCode(1) As Integer
Dim dataValue(1) As Variant
gpCode(0) = 410 ' common group for Layout
gpCode(1) = 0
dataValue(0) = ThisDrawing.ActiveLayout.Name ' current Layout Name
dataValue(1) = "INSERT" ' value for Group 2
Dim groupCode As Variant, dataCode As Variant
groupCode = gpCode
dataCode = dataValue
ssetObj.Select acSelectionSetAll, , , groupCode, dataCode
--
--
Geuko Rooseboom
Decoprojekt
+31-315-270 856
g.rooseboom@decoprojekt.nl