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
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.
Hartmut Eger
Senior Engineer
Anlagenplanung + Elektotechnik
XING | LinkedIn
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)
Can't find what you're looking for? Ask the community or share your knowledge.