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?