I am looking to set the absolute size of a drawing view using iLogic. The snippets only have a facility for returning the view size. Surely there must be some way to fix the size, so that if the model part actual size changes, only the scale will automatically change, while the view size will remain the same??
Thanks!!
Hi bmerton,
It seems width and size cannot be set. You should vary the size of the view setting the scale.
If you check the properties Width or Height for a DrawingView in Inventor Help, you find the following message:
"Property that specifies the height/width of the drawing view. The view height/width cannot be set but is defined by the contents of the view"
I hope it helps.
Thanks but this doesn't really help as I had already seen this in the snippets.
It seems very odd that there isn't a method via iLogic to circumvent this. Anyone have any ideas.
Hi,
You can set the drawing view size indirectly through the scale property
http://adndevblog.typepad.com/manufacturing/2014/11/set-drawing-view-width.html
So you could have e.g. a user parameter with the size you want and then keep setting the view's size back to that value.
Cheers,