Message 1 of 1
Object selection in "Project DWG Geometry" command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I’m trying to automate a process to
1. import (link) a dwg file
2. Make certain dwg layers invisible
3. Create a new sketch
4. Project all visible dwg geometry
But I’m having a problem in step 4. I’ve code to project dwg geometry but this will project all geometry from the linked dwg, including the ones that are on invisible layers.
Is there a way to narrow down the selection of dwg geometry
Any idea how to select / project only the visible geometry from the dwg.
Or perhaps another method to make the correct selection?
I’ve attached a simplified ipt and dwg example containing the code.
Expected result:
Manual projection (OK)
Result with actual code (the upper part may not be projected):
Automated projection (Not OK)