Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Adding Parametric options to 2D Symbol

derekjackson
Expert
Hi,
I'm following the advice about modifying objects on Page 15 of the Cookbook - using FRAGMENT2 to add show the 2D Symbol of the object.

I've drawn my symbol using a series of fills, but I want to give the user the option to edit fill pen, background pen, etc. Is there any way to take the info drawn in the Symbol window and turn into a series of, say, POLY2_ commands?

As far as I can tell, playing around with Fragments only allows me to show or hide what's already been drawn in the Symbol window, as opposed to giving the user choice over pen colours, resolution, etc...
http://www.lsiarchitects.co.uk
http://derekjackson.artstation.com
AC19 / 21 / 23 / 27
Windows 7 Intel Xeon 18Gb
4 REPLIES 4
Erika Epstein
Booster
Add parameters so they can set customize the part.

If you correctly define the subtype first, those parameters will be added. Then use the GS names of these parameters in your script.
Erika
Architect, Consultant
MacBook Pro Retina, 15-inch Yosemite 2.8 GHz Intel Core i7 16 GB 1600 MHz DDR3
Mac OSX 10.11.1
AC5-18
Onuma System

"Implementing Successful Building Information Modeling"
derekjackson
Expert
Thanks - I've got the hang of parameters already - my issue is how to relate them in the 2D script to something drawn by hand using the fill tool.

Ie if I draw the plan view of my object in the Symbol window using standard drawing elements (fill, polyline, etc), how do I give the user the option to change the fill and pen types of what I've drawn?

Thanks,

Derek
http://www.lsiarchitects.co.uk
http://derekjackson.artstation.com
AC19 / 21 / 23 / 27
Windows 7 Intel Xeon 18Gb
David Maudlin
Rockstar
Derek:

Take a look at this thread:
Set Background Pen in GDL

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
derekjackson
Expert
Genius! Just dragging it - so simple I didn't even try it... Thanks very much!
http://www.lsiarchitects.co.uk
http://derekjackson.artstation.com
AC19 / 21 / 23 / 27
Windows 7 Intel Xeon 18Gb