Replace Model Reference in Drawing (Model State Issue)

Replace Model Reference in Drawing (Model State Issue)

mluterman
Advisor Advisor
2,776 Views
13 Replies
Message 1 of 14

Replace Model Reference in Drawing (Model State Issue)

mluterman
Advisor
Advisor

Scenario-

1. I copied a part drawing (.dwg) to create a new drawing of a very similar part.

2. I used the command, "Replace Model Reference in Drawing", to change to the new part. (This is the part where you must pick the main .ipt for all Model States shown and change it in "Edit View" after this command).

3. Now I go to "Edit View" to change the Model State of that drawing View, and it doesn't change.

(4. However, if I start a blank, new drawing, it works fine, just not when replacing and changing Model States in an existing drawing.)

Any ideas on this would be appreciated. Thank you.

 

(EDIT: Seems like there is a bug here because when I toggle back-and-forth between Model States while in "Edit View", and exit to the wrong one in the field of the drawing, I can then go back in to Edit View and activate the right one, and then it will work.)

0 Likes
2,777 Views
13 Replies
Replies (13)
Message 2 of 14

johnsonshiue
Community Manager
Community Manager

Hi Mitchell,

 

I also believe there is a bug here. The issue is that the "member doc" (mini file represents the Model State) wasn't generated yet after you replace the model source.

I tried a simple case but I cannot seem to reproduce it. Are you able to reproduce the behavior persistently?

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 3 of 14

mluterman
Advisor
Advisor
Yes, I am seeing it very often (if it was seldom, I wouldn't post it here). I can't tell if it's 100% of the time yet since we have been using iParts for many years now and we are moving to Model States one part/assembly at a time.
0 Likes
Message 4 of 14

jeromeQTZLB
Participant
Participant

Good day @johnsonshiue ,

 

I was able to replicate the issue that @mluterman was experiencing, using a single Part with multiple Model States with different iProperties. Here's my input on this problem, hopefully it will help us find a solution.

 

- When using the command "Replace Model Reference" in a copied drawing for the first Model State, and selecting the same IPT as the FileName while clicking on "Options..." and choosing a different Model State before clicking OK, the model and the iProperties changes accordingly on the drawing. If I save and exit immediately, the next time I open this copied drawing, the Model State will go back to the original one and not stay to the new selected one.

Capture.PNG

 

- If instead of using the command "Replace Model Reference", and manually change the Model State on each view, then save and exit, the next time I open this copied drawing, the Model State stays to the new selected one.

 

- If I use the command "Replace Model Reference" like stated earlier, then before saving and exiting, I go back to the IPT and manually switch between Model State, when I save and exit, the next time I open this copied drawing, the Model State stays to the new selected one.

 

From what I experienced, it appears the problem comes from the command "Replace Model Reference" that isn't yet adapted for different model states in the same IPT. Do you know if it would soon be fixed in order to avoid having to use a workaround to have the drawing stay updated after saving and exiting?

0 Likes
Message 5 of 14

johnsonshiue
Community Manager
Community Manager

Hi! Many thanks for sharing the detail steps! It does sound like a bug to me. It should work. The selected Model State should be enabled on replacing the model reference.

Let me work with the project team to understand the behavior and see what we can do.

Thanks again!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 6 of 14

EvanGu
Autodesk
Autodesk

@jeromeQTZLB the problem you mentioned should have been fixed in 2022.3 (build 350), would you please update Inventor and try again?


Evan Gu
Inventor/Fusion QA Engineer
0 Likes
Message 7 of 14

mluterman
Advisor
Advisor
What about Inventor 2023?
0 Likes
Message 8 of 14

johnsonshiue
Community Manager
Community Manager

Hi Mitchell,

 

If the defect is fixed on 2022.3 but not on 2023.0, it usually means the fix was submitted when 2023.0 was locked down. The fix will be in the coming 2023.1 update.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 9 of 14

mluterman
Advisor
Advisor
Thank you, Johnson.
Message 10 of 14

mluterman
Advisor
Advisor

This is still an issue...It might have been fixed at some point in time, but it has regressed to not working again.

0 Likes
Message 11 of 14

johnsonshiue
Community Manager
Community Manager

Hi Mitchell,

 

As of Inventor 2022.3 and 2023.1, the issue should have been fixed. There could be other unresolved issues in the same workflow. If possible, please share an example here or send it to me directly johnson.shiue@autodesk.com. I would like to understand the behavior better.

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 12 of 14

mluterman
Advisor
Advisor
Thanks Johnson, I just sent the files in a personal email.
0 Likes
Message 13 of 14

johnsonshiue
Community Manager
Community Manager

Hi Mitchell,

 

Did you send it to johnson.shiue@autodesk.com? I have not received an email from you recently. Please resend it.

Many thanks!



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

mluterman
Advisor
Advisor

I did, but I'll send it again (it has a 10MB .zip file attachment)....Just sent it...

0 Likes