Message 1 of 7
Automating certain settings for AutoCAD Plant 3D environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Greetings,
I am new to AutoCAD scripting (.lsp or .scr) so I am here asking for help. Every time I create a project, I need to perform a certain number of settings of parameters which is quite a cumbersome job. If there is a way to automate this using a script (either LISP or SRC) that would be great.
Here is what I need to do;
Task 1: Creating PLANTENDCODES
- I need to create an end code (Name="ABC", Description="ABC", checkbox=Can CutBack is checked)
- Before creating the script must check if ABC is already there or not (to avoid multiple attempts on the same thing)
Task 2: Creating Piping Joints
- In Project Setup \ Plant 3D DWG Settings \ Piping Connection Setting, there are Piping Joints. I need to create a new piping joint
- Name & Description="JointABC"
- End1 & End2 = "ABC" (the same as the created endcode above, if it's not there then endcode creation shall execute)
- Adding a property named Nominal Diameter
- Clicking the checkbox 'Universal' in the Fasteners section.
Can someone help me guide how to do these tasks (preferably without showing the dialog boxes of ENDCODES and PIPING CONNECTIONS i.e. silent settings)?
Thanks