• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Inventor Customization

    Reply
    Active Member
    Posts: 8
    Registered: ‎06-13-2006
    Accepted Solution

    Inventor Template Customization

    199 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,
    Please use plain text.
    ADN Support Specialist
    xiaodong.liang
    Posts: 813
    Registered: ‎06-12-2011

    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

    Please use plain text.
    Active Member
    Posts: 8
    Registered: ‎06-13-2006

    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,
    Please use plain text.
    ADN Support Specialist
    xiaodong.liang
    Posts: 813
    Registered: ‎06-12-2011

    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

    Please use plain text.
    Active Member
    Posts: 8
    Registered: ‎06-13-2006

    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,
    Please use plain text.