How to change your prtdot

Hello @ All

I'm floundering again with the .prtdot file! :triumph: :rage:

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.

I proceed as follows

Kind regards

Hi @Zozo_mp ,

apart from opening a new and an old room in parallel and doing a CTRL-C then CTRL-V I don't see too much unless with the task scheduler
https://help.solidworks.com/2018/french/SolidWorks/sldworks/HIDD_TASK_CUSTOM_PROPS.htm?id=9acfb2899c564a048897339e01b4f8f4#Pg0

3 Likes

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...)

4 Likes

Hello

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.

2 Likes

Hello @Cyril.f ,

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...

2 Likes

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.

1 Like

Thank you all for your answers

@ac_cobra_427 I feel like that's what I'm doing but it's not working. Before you make another proposal, I'll double-check this one.

I stick to it right away :scream:

1 Like

@ac_cobra_427

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.

Kind regards

PS: I have another problem that I put in a row

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.

2 Likes

Hello @OBI_WAN (really happy to see you, we miss you)

I never go into these things, would you be kind enough to give me the complete path
Model Options = ???

Once this problem is solved I should be able to do my MEP.
Give me your strength in me

Kind regards

1 Like

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.

1 Like

[ZOzo in STUPID MODE ON]

I can't find this path because I don't understand anything about SW logic.

[zozo in CRETIN MODE /Off]

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.

1 Like

This is called the SW property form.

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)

2023-02-08_ SW proprietes.pdf form (176.2 KB)

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)

Good luck

1 Like

@stefbeno where is fucked up .prtdot STP

Hi @Zozo_mp ,
DEFAULT It can be found here:
C:\ProgramData\SOLIDWORKS\SOLIDWORKS 2021\templates

Careful!! THE "ProgrammeData" folder is a hidden folder, it must be visible.

1 Like

Hello
Compared to your first question, replacing the new PRTDOT on an old one, you have:
1 / copy paste all functions!
2/ use the Dressing Standard


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.

1 Like

Hello CEDRIC

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

OK
If I understood correctly, when you make a new play, you don't have the right templete of the play, the famous PRTDOT!
Is that right?

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