IPT - 2D Sketch - Scale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Has the scale command within an IPT 2D sketch been exposed to the API, if so are there any examples?
If not, I appreciate I can start the command through code via
oCommandMgr.ControlDefinitions.Item("SketchScaleCmd")
Call oControlDef.ExecuteBut how would I go about selecting all the geometry in my sketch in a way that the Scale command would see it as pre selected when the command starts?(I can add the geometry to a selection set and/or a highlight set, but the scale command opens with the 'Red' select arrow, it does not see my geometry)
Typical, discovered comma in the wrong place just after posting, but...
I can now preselect my geometry, fire the scale command and have the selection accepted, but I have to give a base point, any idea on automating this (in my case, the base point can be anything, any geometry, origin point etc)
Cheers
Matt
MattH
Product Design Collection 2026
Vault Pro 2026