Create Precast Pillar with Ghost Tracker
Posted: Sun Jun 26, 2022 5:47 pm
Hi,
I want to create ArchPrecast Pillar object with the foloowing code but I can not succed:
but the Python compiler complains about:
It is obvious that I don't know exactly how to pass a list to the function, I think the glitch here is that, your guidance will be appreciated.
And also how to integrate Ghost tracker in such case?
I want to create ArchPrecast Pillar object with the foloowing code but I can not succed:
Code: Select all
import ArchPrecast
dents=['400.0;250.0;600.0;150.0;1500.0;90;0.0']
p = ArchPrecast.makePrecast(slabtype="Champagne",chamfer=2.0,dentlength=0.0,dentwidth=20.0,dentheight=40.0,base=0.0,holenumber=0,holemajor=0.0,holeminor=0.0,holespacing=0.0,groovenumber=0,groovedepth=0.0,grooveheight=0.0,groovespacing=0.0,risernumber=0,downlength=0.0,riser=0.0,tread=0.0,dents[], precasttype="Pillar",length=300.0,width=250.0,height=2000.0,)
App.activeDocument().recompute()
Code: Select all
File "<input>", line 1
dents=['400.0;250.0;600.0;150.0;1500.0;90;0.0']
^
SyntaxError: multiple statements found while compiling a single statement
And also how to integrate Ghost tracker in such case?