I did a project where I managed to create a .prtdot that works correctly especially for all the information contained in "property ==> customize and which I use to autofill the MEP fields.
I'm taking over a project that uses an old .prtdot
When I open an old part, how do I reattach the new .prtdot which would purely and simply replace the old one.
Hello .dot domains cannot be updated in a document (to my knowledge, nor with the task scheduler). Personally, I developed a piece of code that when saving checks some parameters of the file and applies the last changes we were able to implement in the prtdot (purging properties, adding missing ones...)
To perform this manipulation, I put the custom properties in a form. And I call the form in the old rooms. This allows me to fill in the missing properties and fill in the mep automatically.
DRWDOTs can be updated by copying the new basemap and then renaming it to SLDDRT (detached drawing) and to update the old one, just right-click in the MEP, then properties and select "Standard Size", then browse and search for the SLDDRT. I think it's a shame that he doesn't do the same thing for the loans...
Yes and no for the draw if I don't make a mistake. The basemap is a part of the document template and it is not the one that updates the document options, which are an integral part of the drwdot. If for example you change the ISO it is not carried by the slddrt.
Well I copied the .slddrt into the SW directory (it was not in the standard location since the switch to the 2022. C:\ProgramData\SolidWorks\SOLIDWORKS 2022\lang\english\sheetformat\GARPA -A4 landscape 2021-12-28.slddrt I recreated the plan by selecting as you indicated and it works.
BJR @Zozo_mp , For your plans, no problem, just make your plan using the plan template that works well and that you must have. Your concern in real life I think it's your play. you just have to give it the right .prtprp file On each part, click on n°1 then n°2 to assign it the correct PRTPRP. may the force be with you.
BJR @Zozo_mp yes sorry but I'm very busy on various professional and sports subjects. For your files you had to create them since your drawings were good in the past. your path and the one you created in your document templates. Normally when you click n°2 you should be on it.
The easiest way for you is to copy and paste the properties of the prtdot into the old parts. Be careful with configurations but I think you avoid them in general.
Another method is to draw the assembly, put a bill of materials (parts only) and fill in the boxes (SW will ask if you want to keep the link with the part or not: so validate). If the property does not exist, it will be created. Advantage: if a value comes up regularly, you can copy and paste from one part to another or even to a whole batch of parts.
To get lost for good, you can also prepare your nomenclature with excel and copy and paste from XL to SW.
No offense to Obi_Wan, drop this aspect of SW, it's not suitable for you.
and it's either in the resource tab (on the right of the SW screen), or in the windows/SW Tools start menu (not very logical, the opposite would have been easier to find: SW tools)
And if you have an assembly with your parts, you can modify its properties by selecting 1 part in the feature, and choosing the right form (in the view shown in Obi_Wan).
And if not, there's another MyCadTools tool that does that too. (uh I don't remember which one, maybe smart properties or integration)
Who copies the properties of the (new) document into another (old) document.
But for my part, there's no point in doing it! you just have to launch your Form on an old plan. What matters is your plan. In your drawing, you replace the Basemap! if you have a new one.
I copied a .prtdot into this directory but now how do I make the existing parts refer to this .prtdot. When I do ==> file ==>property I don't have the right template, so for each part I'm going to open I have to tell it the new .prtdot to take into account and that's what I don't know how to do
For the plan I manage to have the right background plan, it's only the part that I have to solve
Yes for that too but it's more of an old project so an old part to which I want to attach the right template to have the new one which contains more properties that are automatically retrieved in the MEP to fill the cartridge
Thank you for your patience Thank you @ All for your patience