Message 1 of 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
If an ActiveX function requires obtaining a pointer to model space or paper space to execute. In this case, the obtaining a pointer:
(vla-get-ModelSpace (vla-get-ActiveDocument (vlax-get-acad-object)))
will only execute in model space.
And the obtaining a pointer:
(vla-get-PaperSpace (vla-get-ActiveDocument (vlax-get-acad-object)))
will be executed only in layout.
Is it possible to remove this restriction so that the function that requires obtaining a pointer is executed
both in model space and in paper space?
Solved! Go to Solution.