- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Window Zoom Process in Inventor
Dear Friends,
We wants to zoom in on a Particular area using window selection in Inventor
Dim oDef As ButtonDefinition = ThisApplication.CommandManager.ControlDefinitions.Item("AppZoomWindowCmd")
oDef.Execute
After this,it asks the user for window selection.
But i need set window selection point within programming, So is there any API or Function handle this process Please help me to solve this problem.
Please note that we need to zoom particular edge of constraint.
You have any other idea about zoom process share your idea.
Regards and Thanks,
Vicky.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear Betreff,
Thanks for your quick reply.
Sorry! Please note that we have already used is function like as below code
Coding:
Dim oDoc=ThisApplication.ActiveDocument
oDoc.SelectSet.Select(oEdge)
Dim oDef As ButtonDefinition = ThisApplication.CommandManager.ControlDefinitions.Item("AppZoomSelectCmd")
Def.Execute()
oDoc.SelectSet.Remove(oEdge)
But some of the edges with shortest distance values are not Zoom in Properly when using "AppZoomSelectCmd".Is there any possibilities to Zoom in the edge with shortest length.Please help me for solving this problem.
We will wait for your reply.
With regards,
Vicky.