Is there any way to create a shortcut for "Set current view as...front"?
My college would like to avoid too many clicks.
Thanks.
Solved! Go to Solution.
Solved by Curtis_Waguespack. Go to Solution.
iLogic ...
The clicking on the cube is a lot of work?
@Anonymous wrote:
Is there any way to create a shortcut for "Set current view as...front"?
My college would like to avoid too many clicks.
Thanks.
@cad Please explain why you need to do the "Set current view as...front" so many times that this is an issue?
Did you know you can modify your templates orientation so you start out on the front vs top or whatever?
Or even adjust the "tools...application options.. part tab" and change the plane which you start a new part on...
@mcgyvr wrote:@cad Please explain why you need to do the "Set current view as...front" so many times that this is an issue?
Did you know you can modify your templates orientation so you start out on the front vs top or whatever?
Or even adjust the "tools...application options.. part tab" and change the plane which you start a new part on...
I haven't verified other solutions, but what my college is explaining:
when the assembly is made from a multibody, often the normal views of some of the single parts are not perfect for placing dimensions.
Can you post and example ?
I'm sure we can come up with a solution for you ...
Hi! I guess he does not like the ViewCube orientation in some parts or assemblies right? If yes, he might want to consider changing the part and assembly templates so that the newly create files have the desirable orientation. For existing files, he will have to change one by one unfortunately.
Many thanks!
Thanks all of you for the support.
Please find attached an ipt file.
In the screencast I tried first placing dimensions without changing the views.
You can see that it's a bit long(many clicks).
After I changed the front view.
can you share the screencast
@mdavis22569 wrote:can you share the screencast
I can visualize the screencast (signed off as well), so I think is shared.
@mdavis22569 wrote:can you share the screencast
Any idea? I am not good in Ilogic. I can't figure out how to write this.
cad wrote:Any idea? I am not good in Ilogic. I can't figure out how to write this.
Hi cad,
I've done this in the past, but I'm not sure I'll have the time to look at this today.
If you search this forum and/or the Inventor Customization forum ( http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/bd-p/120 ) you might be able to find a couple of post where we used ilogic to set the view cube and then save out a thumbnail image on save, etc. Those examples will get you started.
I'll try to look in on this topic next week, but might forget, so give it a bump if needed.
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
Hi cad,
I got a little confused as to what you were after, thinking it was more involved.
Unless I'm still confused, this line is all you need:
ThisApplication.CommandManager.ControlDefinitions("AppViewCubeViewFrontCmd").Execute
If you want to set the Front and the Home view (using iso top left) this will do it:
'set current as front view ThisApplication.CommandManager.ControlDefinitions("AppViewCubeViewFrontCmd").Execute 'set to iso view Dim oCamera As Camera oCamera = ThisApplication.ActiveView.Camera oCamera.ViewOrientationType = 10760 'Iso Top Left View Orientation oCamera.Apply 'set current iso as home view ThisApplication.CommandManager.ControlDefinitions("AppViewCubeViewHomeFloatingCmd").Execute 'return to front oCamera.ViewOrientationType = 10764 'Front View Orientation oCamera.Apply
I would make this an external ilogic rule, so it is available for all files.
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
@Curtis_Waguespack wrote:Hi cad,
I got a little confused as to what you were after, thinking it was more involved.
Unless I'm still confused, this line is all you need:
ThisApplication.CommandManager.ControlDefinitions("AppViewCubeViewFrontCmd").Execute
If you want to set the Front and the Home view (using iso top left) this will do it:
'set current as front view ThisApplication.CommandManager.ControlDefinitions("AppViewCubeViewFrontCmd").Execute 'set to iso view Dim oCamera As Camera oCamera = ThisApplication.ActiveView.Camera oCamera.ViewOrientationType = 10760 'Iso Top Left View Orientation oCamera.Apply 'set current iso as home view ThisApplication.CommandManager.ControlDefinitions("AppViewCubeViewHomeFloatingCmd").Execute 'return to front oCamera.ViewOrientationType = 10764 'Front View Orientation oCamera.Apply
I would make this an external ilogic rule, so it is available for all files.
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
Thank you Curtis,
I created this macro (since you can't set shortcuts to Ilogic rules)
Sub SET.FRONT() ThisApplication.CommandManager.ControlDefinitions("AppViewCubeViewFrontCmd").Execute End Sub
and it's working.
Can't find what you're looking for? Ask the community or share your knowledge.