Setting View Models State Properties

Setting View Models State Properties

meck
Collaborator Collaborator
1,953 Views
3 Replies
Message 1 of 4

Setting View Models State Properties

meck
Collaborator
Collaborator

Hello Everyone,

Is there a way to set the models state properties with code in a drawing view? I thought it would be a object in this...

ActiveSheet.View(oDrawingView.Name).ModelDocument, but I do not know where to look using the intellisense.

I've attached a pic of the parameters I would like to set in the view.

Any suggestions would be greatly appreciated!

Mike Eck
Master Drafter/ CAD Programmer
Using Inventor 2018
0 Likes
Accepted solutions (1)
1,954 Views
3 Replies
Replies (3)
Message 2 of 4

chandra.shekar.g
Autodesk Support
Autodesk Support
Accepted solution

@meck ,

 

Unfortunately, there is no Inventor API to get Model state properties at present. Please log a wish list at idea station using below link.

 

https://forums.autodesk.com/t5/inventor-ideas/idb-p/v1232

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes
Message 3 of 4

freesbee
Collaborator
Collaborator

...is it meant here, that there is no API way to access this information?

drawing view model statedrawing view model state

 

(for example which sub-component of a welded assembly is being referenced by the specific view)

Massimo Frison
CAD R&D // PDM Admin · Hekuma GmbH
0 Likes
Message 4 of 4

chandra.shekar.g
Autodesk Support
Autodesk Support

@freesbee,

 

Hoping that below answer in the below forum link may be helpful.

https://forums.autodesk.com/t5/inventor-customization/accessing-preparation-items-in-drawing-view-mo...

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network