Using Transient Geometry (Matrix) to Position Occurrences in Assemblies with Multiple Model States

Janu.Botha
Explorer
Explorer

Using Transient Geometry (Matrix) to Position Occurrences in Assemblies with Multiple Model States

Janu.Botha
Explorer
Explorer

Hi Everyone,

 

I have a complex assembly where I need to constrain a part in an assembly. The part needs to be able to take any position and orientation within the assembly. Because of this flexibility, I have decided to use the Transient Geometry Matrix Object. I am reading the values required to create the matrix from an Excel document. When I have multiple model states in my assembly (2 model states for example), I have two different matrices that represent the position and orientation of the part in the two model states. I then apply the transformation to the part in the first assembly model state with the first matrix and I ground the part and then in the second assembly model state with the second matrix and I ground the part. However, when switching between the assembly model states, I see that the part takes the position and orientation of the second matrix across all assembly model states. Is there a way to assign a different matrix to a part in each assembly model state and ground that part in that position such that when switching between the assembly model states, the part is in the correct position?

 

Thanks in Advance!

0 Likes
Reply
433 Views
6 Replies
Replies (6)

johnsonshiue
Community Manager
Community Manager

Hi! If I understand your request correctly, I believe what you want to achieve still requires Positional Reps. The Model States does not capture the occurrence position overrides (iProperties -> Occurrence -> Offsets).

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer

Janu.Botha
Explorer
Explorer

Hi @johnsonshiue ,

 

Thanks for your response. So just to clarify, the idea is that I can create a dynamic assembly that can add component occurrences to the assembly and position and orientate them using the transient geometry object by passing a matrix to the occurrence. I access the matrix for each occurrence in inventor, by reading the data from an Excel sheet. I would like to use the matrix to position and orientate the occurrences in the assembly and preferably ground the component occurrence. I have been successful with this when there are no model states in my assembly. But I would like to have multiple model states in my assembly that could use the same component occurrences, but in different positions and orientations (I would like to set this with a different matrix for each component occurrence in each assembly model state). The occurrences just seem to take the position and orientation that was set in the last active model state. Would this at all be possible or is there a different approach that I need to look at? Thanks in Advance!

0 Likes

A.Acheson
Mentor
Mentor

Hi @Janu.Botha 

 

Can you achieve your desired workflow manually in modelstates? If so It will only be a matter of following the workflow inventor is carrying out and translating to code. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes

johnsonshiue
Community Manager
Community Manager

Hi Janu,

 

As I explained earlier, Model States do not support occurrence offsets. Such change in transformation isn't captured on the Model States table. You will need to use Positional Representation.

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes

Janu.Botha
Explorer
Explorer

Hi @johnsonshiue,

 

Thanks for the response. Do you know if this would be something that you are considering implementing in future releases? Thanks in advance.

0 Likes

johnsonshiue
Community Manager
Community Manager

Hi Janu,

 

I am sorry I cannot comment on that. Please feel free to submit it to Inventor Ideas forum (https://forums.autodesk.com/t5/inventor-ideas/idb-p/v1232). Other users may vote for it.

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes