Creating custom component scripts

Creating custom component scripts

Anonymous
Not applicable
798 Views
1 Reply
Message 1 of 2

Creating custom component scripts

Anonymous
Not applicable

Good Day Everyone. 
I'm new into using AutoCAD Plant 3D custom script creation. 
I'm following certain steps in generating custom component through scripting. Here are the steps:

1. Placing the created .py file in the CustomScripts Folder in the CPak Common as well as images of different resolutions.

2. Run the command PLANTREGISTERCUSTOMSCRIPTS then perform the command "arx" "l" "Pnp3dacpadapter" then perform TESTACPSCRIPT "Name of the file" 

3. Open Spec Editor's catalog then creating the component as well as placing value in the long description field and matching pipe od then save into the catalog. 

4. Create new spec then placing the new spec in the cpak common folder then adding the created component in it.

5. Copy the .pspc & .pspx file into the spec sheet of the project.

6. Load the created component.

 

In the last part, when I tried to drag the component. The drawing created in the doesn't appear. 
I hope anyone can help me with these. Thank you for your kind response.

0 Likes
799 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

I hope anyone will reply in this one.. I've finished creating the custom components but then when included in the project by adding it in the spec sheet it prompts with the message "Can't find symbol for specified part.".

 

0 Likes