Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ilogic rule to control camera or perspective view

1 REPLY 1
Reply
Message 1 of 2
E_Matt_Roberts
531 Views, 1 Reply

ilogic rule to control camera or perspective view

Hi all,

 

I am driving a regular ipt with iLogic and want to add a rule to control a perspective view, or even a camera. It's critical to the design process that I can do this within a form and with exact vector control (optical application).  I have parameters for the XYZ positions of the eye and target. I would also like to adjust roll, or the UpVector, and zoom using iLogic.

 

I can't find guidance on this. Is it possible? 

 

Thanks

 

 

Matt

 

1 REPLY 1
Message 2 of 2
rjay75
in reply to: E_Matt_Roberts

Look at the Camera object in the API Help file. There are properties that expose the Eye, Target and UpVector among other things. To get the current camera object in iLogic use 

 

ThisApplication.ActiveView.Camera

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report