Solved! Go to Solution.
Block-based Plant 3D parametric objects are NOT to be edited.
Please use Plant 3D objects parameter see Fig.
regards
Hartmut
Hartmut Eger
Senior Engineer
Anlagenplanung + Elektotechnik
XING | LinkedIn
... and if none of the parametric P3D supports will work for you visually, you can always use Python to create your own. See my blog for instructions on how to do that. I have created many aux steel supports as well as new Anvil clevis hangers that match our requirements.
Are your anvil clevis hangers parametric or blocks?
I am trying to learn how to create clevis hangers that function like the clevis roller hangers that come with P3D, but with anvil beam clamps, rod/nuts, and anvil fig 260 clevis hangers.
anvil has 3d .stp blocks available but I have not checked their dimensional accuracy.
thanks
They are paramateric in the sense that they adjust to the pipe size and rod height.
I haven't tried this and don't endorse it, but you might check out Lisega's support modeling for Plant 3D: http://www.lisega.de/downloads/licad-for-plant3d-2.html
Hi Scott,
I've read your instruction on creating custom python scripts for Plant3D and try to do the same for my projects. In regards to on "Rotated Clamps on Pipe Support" I am not getting the same results as outlined in your instruction and was wondering if you could provide some assistance.
This is my workflow after after adding the rotate ange to the script.
on a tool palette:
1. ^C^CPLANTREGISTERCUSTOMSCRIPTS;(startapp "C:/Program Files/Autodesk/AutoCAD Plant 3D 2013 - English/acad.exe");QUIT
2. ^C^C(arxload "PnP3dACPAdapter.arx");
3. ^C^C(TESTACPSCRIPT "CSGB001")
when i test the sript I get the following result on the command line and nothing appears.
Command: (TESTACPSCRIPT "CSGB001") <Entity name: 7ffffb43800>
I also get this error when i run it in the GUI...
Thanks,
Howard
"when i test the sript I get the following result on the command line and nothing appears.
Command: (TESTACPSCRIPT "CSGB001") <Entity name: 7ffffb43800>"
When it says "<Entity name: xxxxx>" that means it did create the item. Did you zoom extents? It places it on 0,0,0 in test mode like you are doing. It *should* be there.
As for the other, I am guessing at the issue here... You should extract out then decompile the CSGB001.PYC file from the Variants.zip file to your C:\AutoCAD Plant 3D 2014 Content\CPak Common\CustomScripts folder. The decompiled file is now a PY file (not PYC). Open it in the editor and change the angle value of the clamp:
o4=CSGC002(s, D=D, L=L, W=W, K=K).rotateY(-90).translate((0, 0, 0-(LS/2.0))) <--- this calls the Clamp PYC file into the CSGB001 script.
o4.rotateZ(30) <--- change the angle on this one to 30 or 45!
Then save it, run PLANTREGISTERCUSTOMSCRIPTS in P3D and then put the PYC back in the Variants.zip file. Test it out after that. If I remember correctly, those were my steps.
I am going back to Applied Software (www.asti.com) as a Senior Plant and Mechanical Application Specialist on March 3 so I will be adding much more to my blog in the next few months.
Thanks for your quick response... i will try your sugestions.
I look forward to following your page for more helpfull tips on python scripting.
Thanks again,
Howard
Downloaded the Lisega plugin and installed, and followed the procedure mentioned in that about netload.
I can use the command, after the command licad, it prompts me to select the horizontal pipe, after the selection, a 2d sketch generates then it generates an error. Can you provide solution for this?, have you tried this plugin?
an Aux Steel Supports Bundle for Plant 3D is soon to be released from Applied Software! If you want information on it, email shallmark@asti.com