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

    Autodesk Inventor

    Reply
    Contributor
    projektant
    Posts: 18
    Registered: ‎08-10-2011

    Re: iLogic - VESSEL

    10-20-2012 02:15 AM in reply to: projektant

    Hello

     

    I made skeleton of my vessel in ipt file which contain : shell, elliptical ends and a number of nozzles. It's controlled by parameters and forms (not yet)  in ipt file.
    Then i created components -  send all parts to assembly file, and now in assembly file i'd like to add etc. flanges to all nozzles. I changed Level of Detail, and suppressed few of them, everything seems to work OK - suppressed parts in BOM was changed automatically by Inventor to REFERENCE.

     

    It's too complicated to do all flanges in skeleton file.

     

    The problem is when i want to UNSUPPRESS using ilogic off course, Inventor does not change reference state to normal state, so i have to do it manually.It has to be changed to normal state, because i can't see it in the drawing (dwg file)

     

    Is there any way to do it automatically using iLogic or VB?

     

     

    Best,

    Marcin

     

     

    Please use plain text.
    Valued Mentor
    swordmaster
    Posts: 453
    Registered: ‎12-15-2008

    Re: iLogic - VESSEL

    10-20-2012 07:15 AM in reply to: projektant

    I have not read all the posts in this thread, but let me comment on your last entry. Regarding "reference" and "normal" BOM  status

     

    If you have a assembly with a custom Level of detail (i always name mine ilogic) and suppress/unsuppress sub-components within the assembly using ilogic rules (Component.Active) then Inventor will automatically update the BOM status 

    Inventor 2010 Certified Professional
    Please use plain text.
    Contributor
    projektant
    Posts: 18
    Registered: ‎08-10-2011

    Re: iLogic - VESSEL

    10-21-2012 10:46 AM in reply to: swordmaster

    Thank's a lot !

     

    I suppressed using iLogic rule, but unsuppressed manually... :/

     

    Please use plain text.
    Contributor
    projektant
    Posts: 18
    Registered: ‎08-10-2011

    Re: iLogic - VESSEL

    10-22-2012 02:11 AM in reply to: projektant

    I've got crytical error when running iLoigic rule in Part7.iam (Rule0), I want to change parameter in Part7.ipt from assembly file.  (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

     

    Any idea???

    Please use plain text.
    Valued Mentor
    swordmaster
    Posts: 453
    Registered: ‎12-15-2008

    Re: iLogic - VESSEL

    10-22-2012 05:13 AM in reply to: projektant

    Should make no difference Inventor will still handle the BOM status automatically

    Inventor 2010 Certified Professional
    Please use plain text.
    Valued Mentor
    swordmaster
    Posts: 453
    Registered: ‎12-15-2008

    Re: iLogic - VESSEL

    10-22-2012 05:16 AM in reply to: projektant

    what Inventor version?

    can you post the rule code which gives the error

    Inventor 2010 Certified Professional
    Please use plain text.
    Contributor
    projektant
    Posts: 18
    Registered: ‎08-10-2011

    Re: iLogic - VESSEL

    10-22-2012 05:42 AM in reply to: projektant

    Inventor 2013 sp 1.1 64bit

     

    Parameter("Solid1_1:1", "aaa") = 100

     

    Error in rule: Rule0, in document: Part7.iam

    Katastrofalny błąd. (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

    Please use plain text.
    Valued Mentor
    swordmaster
    Posts: 453
    Registered: ‎12-15-2008

    Re: iLogic - VESSEL

    10-22-2012 05:49 AM in reply to: projektant

    When the ilogic error interface opens, click on the details tab, and post the message here

    Inventor 2010 Certified Professional
    Please use plain text.
    Contributor
    projektant
    Posts: 18
    Registered: ‎08-10-2011

    Re: iLogic - VESSEL

    10-22-2012 05:57 AM in reply to: swordmaster

    System.Runtime.InteropServices.COMException (0x8000FFFF): Katastrofalny błąd. (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
       at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
       at Inventor.Parameter.set_Expression(String )
       at iLogic.ParamDynamicFinder.SetParamValue(Parameter param, Object value, Boolean doUpdate)
       at LmiRuleScript.Main()
       at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
       at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)

    Please use plain text.
    Valued Mentor
    swordmaster
    Posts: 453
    Registered: ‎12-15-2008

    Re: iLogic - VESSEL

    10-22-2012 06:07 AM in reply to: projektant

    the problem lies here

     

    Parameter("Solid1_1:1", "aaa") = 100

     

    you say in a previous post that you want to change a parameter in part7.ipt

    to do this the code needs to read

    Parameter("part7", "aaa") = 100

    Inventor 2010 Certified Professional
    Please use plain text.