arc2 xCenterPoint, 圜enterPoint, radius, angleStart, angleEnd Piece of circle defined by its centerpoint coordinates, radius, and the starting and end angles. circle2 xCenterPoint, 圜enterPoint, radius
rect2 xStartDiagonalPoint, yStartDiagonalPoint, 圎ndDiagonalPoint, yEndDiagonalPointĪ simple circle defined by the coordinates of the centerpoint and the radius. The two points are on the diagonal of the rectangle, the sides are parallel to current X and Y axes (local coordinates).
See the Drawing Elements section of the GDL Manual Straight lineĪ line between 2 points, defined by the x, y coordinates of its starting and endpoints: line2 xStartPoint, yStartPoint, 圎ndPoint, yEndPoint This case, use the name of the fill type parameter instead of an index (without quotes). You can assign a fill type parameter from the object’s own parameters as well. The “indexFill” parameter is an integer, or the name of the fill type in quotes. Fill typeĮvery 2D shape with fill definitions following this command will be displayed with the fill type of matching index according to template. This case, use the name of the line type parameter instead of an index (without quotes). You can assign a line type parameter from the object’s own parameters as well. The “indexLineType” parameter is an integer, or the name of the line type in quotes. Line typeĮvery 2D shape with lines following this command will be displayed with the line type of matching index according to template. This case, use the name of the pen type parameter instead of an index (without quotes). You can assign a pen type parameter from the object’s own parameters as well. PenĮvery 2D shape with lines following this command will be displayed with the pen of matching index according to template. If the script has no attribute definitions, general attributes will take action. When an attribute command is placed in the code, all simple subsequent elements will be displayed with the set attributes, unless the element declares its own (complex commands may include attribute definition parameters as well). There are some very simple commands to set the attributes of the 2D elements used in the script – see the Directives section of the GDL Manual. Coordinate Transformations or this tutorial’s Coordinates and transformations chapter. The transformation affects all elements placed after it in the script, until deleted (del). Use the Master script and the 2D script to create a symbol for your object.Īll transformation types are available in 2D: add2 xOffset, yOffset GDL’s 2D commands usually have a “2” after their name (to distinguish them from 3D versions). Listing options, creating and using macros will be a lot more organized this way.
Use the object group’s specific parameters provided by the chosen subtype.The overall dimensions of the objects should match the “A” and “B” parameters (those are available on the infobox as well).Highlighting the object will be a lot more easier. always use a fill in the symbol, even if it’s transparent.The representation of them has to meet certain standards (the representation standards of nations can be very different), and they have to be easy to handle from a user’s point of view as well (redraw speed, editing options, highlighting, etc.).Īt GRAPHISOFT we have some additional recommendations regarding the 2D symbol of an object: GDL objects are usually a very prominent part of a building documentation, just think about doors and windows. It is still one of the most important, and a very informative part of building design. An architectural plan is the 2D projection or symbolic representation of building structures, doors, windows, objects, annotation elements.