AutoCAD Plant 3D General DIscussion

AutoCAD Plant 3D General DIscussion

Reply
Employee
rajsekarpillai
Posts: 35
Registered: ‎08-12-2010
Message 21 of 26 (972 Views)

Re: AutoCAD Plant 3D Catalog Builder (Beta) is available now

02-08-2012 08:21 AM in reply to: ybogdanov
Spoiler
 

Hi,

 

I checked with developer and he mentioned that you might be missed the environment path for the content builder.

 

1. Create a folder named “CustomScripts” under content folder C:\AutoCAD Plant 3D 2012 Content\CPak Common\ "

 

2. Create a custom python script, such as “TestScript.py” under the created folder.

 

Try this and let us know.

 

Thanks & Regards,

 

 



S. R. Rajasekaran
Product Manager
Plant Solutions - AEC
Autodesk, Inc.

Alumni
EileenForan
Posts: 138
Registered: ‎08-15-2007
Message 22 of 26 (958 Views)

Re: AutoCAD Plant 3D Catalog Builder (Beta) is available now

02-09-2012 10:24 AM in reply to: GeorgeKamieniecki

Hi, George. Just to make sure you got the response (which is posted above your question), I'm reposting it here.

 

If this resolves your issue, can you please mark it as the accepeted solution? Otherwise, let us know if you are still having the issue, and we'll work on it some more to get you a fix.

 

thanks,

 

Eileen

 

Employee
Posts: 14
Registered: 08-12-2010

 

 

Hi,

 

I checked with developer and he mentioned that you might be missed the environment path for the content builder.

 

1. Create a folder named “CustomScripts” under content folder C:\AutoCAD Plant 3D 2012 Content\CPak Common\ "

 

2. Create a custom python script, such as “TestScript.py” under the created folder.

 

Try this and let us know.

 

Thanks & Regards,

 

 



S. R. Rajasekaran
Product Manager
Plant Solutions - AEC
Autodesk, Inc.


Eileen Foran
Community Program Manager
Autodesk Plant Solutions
Autodesk, Inc.

.
Contributor
GeorgeKamieniecki
Posts: 15
Registered: ‎12-27-2011
Message 23 of 26 (956 Views)

Re: AutoCAD Plant 3D Catalog Builder (Beta) is available now

02-09-2012 10:56 AM in reply to: rajsekarpillai

Hei,

I already have created the Custom Scripts folder and TestScript.py file.

In AutoCad Plant 3d I issued the command PLANTREGISTERCUSTOMSCRIPTS and got no error messages. The pyc file was created.

What I am unable to do is to run testacpscript as this command does not exist on my PC.

 

My other question is how do I access these scripts to actually create piping components in a Plant 3D model?

 

Regards

George K 

Contributor
GeorgeKamieniecki
Posts: 15
Registered: ‎12-27-2011
Message 24 of 26 (786 Views)

Re: AutoCAD Plant 3D Catalog Builder (Beta) is available now

05-18-2012 09:23 AM in reply to: EileenForan

Hi,

I need to be able to define my own parametric piping components.  I followed the steps outlined in the instructions available last year without being able to get it working. There is a gap in my understanding of how to implement this functionality. Can you please send me an updated version of these instructions for Plant 3D 2013?

Regards

GK.

Employee
rajsekarpillai
Posts: 35
Registered: ‎08-12-2010
Message 25 of 26 (774 Views)

Re: AutoCAD Plant 3D Catalog Builder (Beta) is available now

05-21-2012 02:29 AM in reply to: GeorgeKamieniecki

Hi,

 

The instructions are same for AutoCAD Plant3D 2013. please let us know if you need any specific example.

 

Thanks & Regards,



S. R. Rajasekaran
Product Manager
Plant Solutions - AEC
Autodesk, Inc.

Contributor
GeorgeKamieniecki
Posts: 15
Registered: ‎12-27-2011
Message 26 of 26 (641 Views)

Re: AutoCAD Plant 3D Catalog Builder (Beta) is available now

10-01-2012 12:14 PM in reply to: RSFAdsk

I have been using Python scripts to create many new components without running into any showstoppers. Now I have hit on a problem with creating hex plugs and endcaps. The scripts compile OK and script testing gives the right results.

I am unable to introduce these components into a catalog. I suspect the problem has to do with group naming.

Attached is a zip file with the problem scripts.

 

Hopefully you can point me in the right direction

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions to get help installing your software.

New AutoCAD Plant 3D Category!

The AutoCAD Plant 3D forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.