Custom Equipment Package

Custom Equipment Package

nghiabt04
Advocate Advocate
2,537 Views
11 Replies
Message 1 of 12

Custom Equipment Package

nghiabt04
Advocate
Advocate

Hi all, 

I have written some scripts to create custom equipment in Plant 3D but I faced an issue when packing my new equipment.

My process:

1. Write script and place to ...\CPak Common\CustomScripts\ --> fine

2. Run CMD "PLANTREGISTERCUSTOMSCRIPTS" and "TESTACPSCRIPT" --> fine (it created a new block of equipment in the drawing)

3. Packing to .peqx file:

  3.1. Copy new .peqx file and uncompressed with 7zip

  3.2. Change EquipmentType.xml file follow my script (change Name, Type, SubType, ... and create new GUID)

  3.3. Change .rels file with my preview images

  3.4. Compressed to .peqx file with 7zip and rename it

  3.5. Place to folder ...\CPak Common\equipment\

I have done all steps above and restart P3D, but new equipment did not appear in Create Equipment Dialog. I have no ideas why it happened. I also follow the PD1746 Documentation by David Wolfe and still fail.

Can someone help me solve this issue?

Thanks a lot.

0 Likes
Accepted solutions (1)
2,538 Views
11 Replies
Replies (11)
Message 2 of 12

h_eger
Mentor
Mentor

Dear @nghiabt04 ,

 

PD1746 was created for the AU 2012.

Unfortunately, the structure was changed with the version Plant 3D 2017.2 and this document no longer works.

I have already tested it, but from P3D 2017.2 it no longer works.

 

Please contact Autodesk Support.

-

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



0 Likes
Message 3 of 12

nghiabt04
Advocate
Advocate

Hi @h_eger,

Can you tell me the new active process after P3D 2017.2 version or there is any new document for it. I used the support contact center but with the student account, I saw no contact options for the student subscription plan (see attached image).

0 Likes
Message 4 of 12

h_eger
Mentor
Mentor

Dear @nghiabt04 ,

 

There is a separate forum for the student versions.

ONLY full versions are supported here.

 

PS. I am not aware of any new documents on this point. I've already looked for it myself and haven't found anything about it.

 

 

-

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 5 of 12

George.Endrulat
Advisor
Advisor

Is there any way to do template python based equipment anymore?

George

If my post offers a solution, please click "Accept as Solution"
0 Likes
Message 6 of 12

plantinfo28
Contributor
Contributor

@nghiabt04 tough task.

0 Likes
Message 7 of 12

rajendra.prajapat
Advisor
Advisor

@nghiabt04  

script based equipment is the tricky part.it will not generate nozzle in right manner.

If my reply was helpful, please give a "Kudo" or click the "Accept as Solution" button below (or both).
0 Likes
Message 8 of 12

nghiabt04
Advocate
Advocate
I think there's still a way to do it (I still try to figure it out). I use P3D 2021 version and still see P3D loaded .pyc and .peqx files to create equipment in the dialog. But maybe it's a tough task like @plantinfo28 said.
0 Likes
Message 9 of 12

nghiabt04
Advocate
Advocate

@rajendra.prajapat
It's a tricky part, but generate nozzle is possible and also right manner. Mr. David Wolfe already have an article about it

0 Likes
Message 10 of 12

plantinfo28
Contributor
Contributor

@nghiabt04 great

0 Likes
Message 11 of 12

rajendra.prajapat
Advisor
Advisor

@nghiabt04it can be possbile for tanks but not in pump case.like you cannot change the nozzle type tricalmp end in pump case.

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

nghiabt04
Advocate
Advocate
Accepted solution

Hi @h_eger, @george.endrulat

The PD1746 procedure of David Wolfe still works fine, but instead of uncompressing the .peqx file, you need to edit all related files (.xml, .png) without changing the decoded file of .peqx. I have tried that and got success. Maybe you can try this way to create your own custom equipment.