Inventor Customization

Inventor Customization

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

Inventor Template Customization

327 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,305
Registered: ‎06-12-2011
Message 2 of 5 (295 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 (278 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,305
Registered: ‎06-12-2011
Message 4 of 5 (259 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 (238 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
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!