place iLogic component - error in 2022

place iLogic component - error in 2022

m.maertens6DTZT
Enthusiast Enthusiast
826 Views
6 Replies
Message 1 of 7

place iLogic component - error in 2022

m.maertens6DTZT
Enthusiast
Enthusiast

Hi,

 

It seems like I'm having more problems in Inventor 2022 with importing iLogic Components.

Model states vs Level of detail gives sometimes issues.

But especially when I place iLogic component with an assembly that contains suppressed parts.

 

Then I get the message: 

this command cannot be used to place a document contains unresolved or substitute components

 

In 2020 we didn't got this issues.

 

0 Likes
827 Views
6 Replies
Replies (6)
Message 2 of 7

chandra.shekar.g
Autodesk Support
Autodesk Support

@m.maertens6DTZT,

 

Please provide non confidential data set to reproduce the issue.

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes
Message 3 of 7

CattabianiI
Collaborator
Collaborator

Hi @chandra.shekar.g,
@m.maertens6DTZT issue is a subset of what I reported here.

I attached a p&g to reproduce the issue:

0. Open Assembly1 and activate model state1, save and close the file.
1. Open AssemblyTop.iam in which is loaded Assembly1 in Model State1 where a part is suppressed.

1.1 Check Application.Documents and you'll see the assembly1 factory in Model State1 (with Open property set to false).

2. Place iLogic component and select Assembly1.
2.1 you get the error and if you check Application.Documents the factory is now in Master model state, still with open to false, and if you try to get ReferencedDocumentDescriptors or iProps as I do in the issue I linked before, you'll see data about Model State1 and not the master one.

For this issue things work as expected if at step 0 you do:
0. Open Assembly1 and activate Master, save and close the file.

0 Likes
Message 4 of 7

m.maertens6DTZT
Enthusiast
Enthusiast

Thanks!

That is exactly what I'm having right now.

But even if my model state is on master, some parts needs to be suppressed and I'm still not able to place an Ilogic component.

And I have another question. What do you mean with "Application.Documents" ? Where can I find that?

 

Thanks,

Maarten

 

 

0 Likes
Message 5 of 7

CattabianiI
Collaborator
Collaborator

Oops you're right it's way much simpler to reproduce your issue.
The fact is in 2022 can exist a file without any model state in which all components are unsuppressed, in other words in previous versions when you suppressed a component a non master LOD was created, keeping master lod with all component unsuppressed.

@chandra.shekar.g could you recognise the @m.maertens6DTZT issue and take a look on mine here?

What do you mean with "Application.Documents" ? Where can I find that?
This is about programming, with this property you get all the documents _loaded_ in the current inventor session.

Message 6 of 7

m.maertens6DTZT
Enthusiast
Enthusiast

So I need to have the master with all the components unsuppressed, and create a new LOD ( model state) where I can suppress the parts and save the .IAM under that new model state.

Thanks for the help.

 

0 Likes
Message 7 of 7

CattabianiI
Collaborator
Collaborator

Unfortunately not enough. And I know the things here are becaming very tricky to understand, but referring to the steps I posted above: you are not sure that at point 1 opening AssemblyTop.iam it would open the factory in the master or in the model state where everything is unsuppressed.
Place iLogic component is bugged, waiting for  @chandra.shekar.g confirmation the only workaround is that before "place iLogic" open the file you want to place in a model state where everything is unsuppressed and leave it open.

0 Likes