- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am having trouble with selecting the correct profile in a script.
The user creates a plate (rectangular extrude) and then selects a face to create a component on.
That face is used as the sketch plane that the API creates the sketch on.
The problem is, when the API does an extrude of the sketch profile, it picks the outer edges of the plate and not the profile of the sketch.
Can you limit the profiles selected to just those of the sketch only, and not anything else on the sketch plane?
The attached code is what makes the component that bombs out at line 244 because it is looking for edges that don't exist, because the wrong profile has been selected.
Thank you.
Brad Bylls
Solved! Go to Solution.