How to recover SizeRecordId if part from spec changed.

How to recover SizeRecordId if part from spec changed.

quan_hm
Collaborator Collaborator
339 Views
3 Replies
Message 1 of 4

How to recover SizeRecordId if part from spec changed.

quan_hm
Collaborator
Collaborator

Hi guys,

So when I place the part in the model it has 1 SizeRecordId, and this id is equivalent to 1 id in the spec. That id is for the update from spec function to work but now when delete the item from spec and add it again from the catalog the id have changed, and it lead to a problem that the update from spec function not work anymore. 

 

So how to recover the SizeRecordId for the item in the model? I see the similar function from PowerPack (Graitec) but not understand how it works. 

 

What I have tried is to compare all parameter, script name, etc. to the each item from the spec and if it matchs it will take the id from that item, but it have a major problem that sometimes it cannot find equivalent item in the spec. 


Thank you. 

Hoang Minh Quan - Lead Developer

Autodesk Store for IntegaDesign Content

Smart Solutions by IntegaDesign

Plant 3D • CAD Optimization • Automation
0 Likes
340 Views
3 Replies
Replies (3)
Message 2 of 4

h_eger
Mentor
Mentor

@quan_hm ,

 

I don't know a way to restore this SizeRecordID if the component was deleted from the pipe spec.
The only viable way is to restore the project backup to the point where the deleted part is still available in the spec.
Such mistakes are only made once as the rework is very time consuming

-

If my reply was helpful, please give a "Kudo" or click the "Accept as Solution" button below (or both).

Hartmut Eger
Senior Engineer
Anlagenplanung + Elektotechnik
XING | LinkedIn

EESignature



Message 3 of 4

dave.wolfe
Advisor
Advisor

No, you can't recover sizerecordids. We can help you find broken ones, but there's no tool to fix stuff in the model automatically. You have to find the "orphaned" spec parts and then substitute with a valid one from the spec. Its much more complicated than just fixing the one field, and I wouldn't touch that problem with a 10 ft pole. Best practice is to rename the old part (include the word "deleted" in the desc), add the new part to the spec, do a filter in Data Manager, and then replace the old instances with the proper new one.

Dave Wolfe
Isaiah 57:15

EESignature

Plant 3D Wish list

Piping Labs

Message 4 of 4

quan_hm
Collaborator
Collaborator

Thank you guys for the suggestion. 

Hoang Minh Quan - Lead Developer

Autodesk Store for IntegaDesign Content

Smart Solutions by IntegaDesign

Plant 3D • CAD Optimization • Automation
0 Likes