Read "instance Properties" from Inventor

Read "instance Properties" from Inventor

carlos.manteigas
Participant Participant
924 Views
10 Replies
Message 1 of 11

Read "instance Properties" from Inventor

carlos.manteigas
Participant
Participant

Good Morning.

 

In Navisworks, i can read iProperties from parts in an assembly from Inventor but ... How to read instance Properties?

 

Thank you!

0 Likes
Accepted solutions (1)
925 Views
10 Replies
Replies (10)
Message 2 of 11

CCarreiras
Mentor
Mentor

Hi!

Instance properties it's an assembly property, is not written in the part, only when the part is in the assembly context.

I don't think you be able to read all that info in Navisworks.

 

...But you can recognize each instance in the selection Three. What do you are trying to achieve?

CCarreiras

EESignature

Message 3 of 11

carlos.manteigas
Participant
Participant

@CCarreiras Thank you for your reply.

 

I have serial numbers on each part of an assembly and i'm delivering the naviswork file of the assembly to the customer.

How can the customer read the serial numbers?

 

Thank .you.

0 Likes
Message 4 of 11

CCarreiras
Mentor
Mentor

 

As a workaround, you can add the serial to the instance name, and then you can identify it later in Navisworks browser.

ccarreiras_0-1653996189454.png

 

CCarreiras

EESignature

Message 5 of 11

carlos.manteigas
Participant
Participant
It works for small assemblies but i have hundreds of parts.
Thank you!
Message 6 of 11

johnsonshiue
Community Manager
Community Manager

Hi! I believe Carlos' solution can be automated using an iLogic rule in the hosting assembly. Basically, the rule needs to read the serial number property and populate it to the instance name.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 7 of 11

CCarreiras
Mentor
Mentor

Interoperability between software is not perfect most of the time.

I guess that there are no other good options to identify the serial parts without writing that information someplace.

 

If the instance properties are already written, you can push that to the instance name in assembly as @johnsonshiue  referred.

CCarreiras

EESignature

Message 8 of 11

carlos.manteigas
Participant
Participant

Hi  @johnsonshiue !

I liked the idea of the iLogic rule to automate the rename of each part acording to it's serial number, but there's a catch... the serial number is written in an INSTANCE PROPERTY because, obviously is unique for each part.

How can it be done?

iLogic can read the INSTANCE PROPERTY "Serial Number" and rename each part accordingly?

 

Thank you! 🙂

Message 9 of 11

CCarreiras
Mentor
Mentor

Not remaining the part file (filename), only the instance name in the assembly browser.

iLogic will do the same as I did manually (catch the instance property and add that to the instance name), but quickly.

Ask this in the Inventor programming forum you will get some help with this.

CCarreiras

EESignature

Message 10 of 11

carlos.manteigas
Participant
Participant
Accepted solution

@CCarreiras i did ask for help in the inventor programming forum and the solution is there.

So i publish here the link to the solution

 

https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/catch-the-instance-property-and-add-...

Thank you @CCarreiras and Thank you @johnsonshiue for your contribution! 😀

 

0 Likes
Message 11 of 11

CCarreiras
Mentor
Mentor

Otimo!!t Tambem vou experimentar o código... 😁

CCarreiras

EESignature

0 Likes