AutoCAD Plant 3D Forum
Welcome to Autodesk’s AutoCAD Plant 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Plant 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Python Functions do not activate correctly

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
373 Views, 2 Replies

Python Functions do not activate correctly

Hi, Experts.

 

I tried creating some python scripts to make new symbols and I understand overall schemes about python scripts.

Now, I  am having some troubles with some python functions Autodesk supplied.

followings are parts of codes.

obj = ARC3D(....)

point_1 = obj.pointAt(1)

dir_1 = obj.directionAt(1)

...

s.setPoint(point_1, dir_1)

 

in AU supplied document about Creating Primitives, I found samples like above. But I meet errors creating symbols.

- There is no error with PlantRegisterCustomScripts : no Syntax Error

- Geometry cannot be generated with the given parameters.nil : Errors while applying TESTACPSCRIPT

 

I cannot understand Why Autodesk do not supply full manual documnent about creating primitives, while other CAD vendors like AVEVA ans Intergraph supply full document to every module.

 

Thank You

2 REPLIES 2
Message 2 of 3
h_eger
in reply to: Anonymous

Dear @Anonymous ,

 

If you want to complain about Autodesk then you are on the wrong track!
If you need support in the case of Python scripting for AutoCAD Plant 3D, please provide your script so that we can help you.

If not, you are welcome to continue working with Aveve E3D or Inetgraph Smart 3D.

-

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 3 of 3
George.Endrulat
in reply to: Anonymous

Have a look at this PDF, it details quite a lot if you haven't seen it: Annex B: Creating Custom Component Scripts in Plant 3D (autodesk.com)

George

If my post offers a solution, please click "Accept as Solution"

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report