2010-05-01 11:24 AM
2010-05-01 01:17 PM
2010-05-01 03:13 PM
David wrote:Thanks, I'll try it as soon as I can.
cris2d2:
In the US version of Railing Vertical (which has an annotated script!) starting at line 69 (labeled !!!!!!!!Vertical Bars!!!!!!!!) of the 3D Script is the code for this part of the object. The actual command is
Prism_ 5,zzyzx-hrh-lcbh-ucbh-2*lh,
-bth/2,-bw/2,15,
bth/2,-bw/2,15,
bth/2,bw/2,15,
-bth/2,bw/2,15,
-bth/2,-bw/2,-1
It looks like the bar is placed at its center point, so inserting a replacement should be straight forward. The simplest approach is to simply substitute the code for your bar for the one in the script. Fancier approaches would create a new parameter for the bar type, then either through sub routines or If...Then statements give an option for bar types.
Enjoy,
David