Inventor General Discussion

Reply
Contributor
projektant
Posts: 18
Registered: ‎08-10-2011
Message 11 of 24 (301 Views)

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

 

 

Distinguished Mentor
swordmaster
Posts: 540
Registered: ‎12-15-2008
Message 12 of 24 (291 Views)

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
Contributor
projektant
Posts: 18
Registered: ‎08-10-2011
Message 13 of 24 (274 Views)

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... :/

 

Contributor
projektant
Posts: 18
Registered: ‎08-10-2011
Message 14 of 24 (255 Views)

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???

Distinguished Mentor
swordmaster
Posts: 540
Registered: ‎12-15-2008
Message 15 of 24 (241 Views)

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
Distinguished Mentor
swordmaster
Posts: 540
Registered: ‎12-15-2008
Message 16 of 24 (239 Views)

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
Contributor
projektant
Posts: 18
Registered: ‎08-10-2011
Message 17 of 24 (230 Views)

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))

Distinguished Mentor
swordmaster
Posts: 540
Registered: ‎12-15-2008
Message 18 of 24 (226 Views)

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
Contributor
projektant
Posts: 18
Registered: ‎08-10-2011
Message 19 of 24 (223 Views)

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)

Distinguished Mentor
swordmaster
Posts: 540
Registered: ‎12-15-2008
Message 20 of 24 (220 Views)

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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.