Inventor Customization

Inventor Customization

Reply
Active Member
mirzanasrullah
Posts: 8
Registered: ‎06-13-2006
Message 1 of 5 (336 Views)
Accepted Solution

Inventor Template Customization

336 Views, 4 Replies
09-16-2012 04:28 AM

Dear Team,

 

I would like to make my template as per the requirement and want to lock some of the options or features for creating any kind of model.

 

Example : If my team is working on Sheet Metal module, then I want them to only check the Material Thickness, which I have defined in the Template, other features like Material Style & Unfold Rule must be locked.

 

Please help me ...

 

Thank you.

 

Nasrullah Baig Mirza,
Mechanical Design Engineer,

Hi Mirza,

 

I meant to start some events such as ApplicationEvents.OnCloseDocument. In this event, check if the rule is changed. If yes, just pop out a message box to tell the user. And cancel the operation by HandlingCode = kEventCanceled . thus the closing will not proceed. 

ADN Support Specialist
xiaodong.liang
Posts: 1,335
Registered: ‎06-12-2011
Message 2 of 5 (304 Views)

Re: Inventor Template Customization

09-20-2012 08:43 PM in reply to: mirzanasrullah

Hi,

 

I do not see a way to disable some settings. The only I can suggest is:

 

either your code could pop out a warning after the end user modifies the relevant options (such as rule). And ask him not to modify the rule.

or when the end user closes the document, pop out the warning to indicate the rule is modified and ask him to change back to the orignal.



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Active Member
mirzanasrullah
Posts: 8
Registered: ‎06-13-2006
Message 3 of 5 (287 Views)

Re: Inventor Template Customization

09-24-2012 01:57 AM in reply to: xiaodong.liang

Dear Liang,

 

Thank you for the reply, which was helpful to me...

 

In the case which u explained, who can I make change for the Pop-up for the Team. Any hint which I can modify any script or registry.

 

Thank you.

 

Nasrullah Baig Mirza,
Mechanical Design Engineer,
ADN Support Specialist
xiaodong.liang
Posts: 1,335
Registered: ‎06-12-2011
Message 4 of 5 (268 Views)

Re: Inventor Template Customization

09-26-2012 08:09 PM in reply to: mirzanasrullah

Hi Mirza,

 

I meant to start some events such as ApplicationEvents.OnCloseDocument. In this event, check if the rule is changed. If yes, just pop out a message box to tell the user. And cancel the operation by HandlingCode = kEventCanceled . thus the closing will not proceed. 



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Active Member
mirzanasrullah
Posts: 8
Registered: ‎06-13-2006
Message 5 of 5 (247 Views)

Re: Inventor Template Customization

09-30-2012 10:59 PM in reply to: xiaodong.liang

Thank you.... Very Much.

 

Nasrullah Baig Mirza,
Mechanical Design Engineer,
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.