
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Simple C++ script to demonstrate problem (-> attached file):
1) create new occurrence/component in active component
2) create sketch in new component
3) activate new component
Works as expected if root-component is active when user starts script:
-> component is activated, user can select sketch in timeline, right-click "edit sketch", create circle, stop sketch, create extrusion.
-> component activated
circle clearly visible after "stop sketch"
Works not as expected if "subassy" is active when user starts script:
-> new component is added, but in an "half-active" state. Timeline looks as if the component is activated, but no active-component radio button in the browser is visible. No component item in the browser is activated at all.
Question: known limitation?
If the user ignores this weird state, it can cause problems:
- user selects sketch in timeline, right-click "edit sketch", creates geometry, then "stop sketch" -> see image, faint display of circle, no component selected in browser
Then the user creates an extrusion with the circle.
-> see image
oops!
Addendum: if the user leaves the sketch directly by entering "create extrusion" (instead of "stop sketch" and then "create extrusion") then the extrusion is created without any warnings (and the new component is selected in the browser).
=> ??
Solved! Go to Solution.