Message 1 of 3
How can i see if a block is standing in Paperspace or Modelspace

Not applicable
12-26-2001
08:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm making a program that inserts a block on a position that is related to another block.
My problem is that i can find the block, but i cannot see if it's standing in Paperspace or Modelspace.
I made a selectionset that contains that blockreference
Set ss = ThisDrawing.SelectionSets.Add("Searchblock")
fType(0) = 2
fData(0) = StrblokNL ' blockname
ss.Select acSelectionSetAll, , , fType, fData
For Each blkRef In ss
<>
Next
My problem is that i can find the block, but i cannot see if it's standing in Paperspace or Modelspace.
I made a selectionset that contains that blockreference
Set ss = ThisDrawing.SelectionSets.Add("Searchblock")
fType(0) = 2
fData(0) = StrblokNL ' blockname
ss.Select acSelectionSetAll, , , fType, fData
For Each blkRef In ss
<
Next