GDL object
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-07-20 06:42 PM
2011-07-20
06:42 PM
What i need help with is that the object dosent show in 2D and there are no hotspots in 3d.
I will attach the object i am talking about....
I am verry greatfull for any replays. thank you.
6 REPLIES 6

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-07-20 08:19 PM
2011-07-20
08:19 PM
Omar,
The 3D and 2D views of all objects are separate. You have to script both of them. However, there are some cheats. In the 2D scripting window try writing the following code:
Also, I suggest that you add a signature (click the Profile link at the top of the screen) with information about your system and version of ArchiCAD. Sometimes correct answers depend on this information. In this instance, I know you are using a more recent version of ArchiCAD than I am since I could not open your part.
The 3D and 2D views of all objects are separate. You have to script both of them. However, there are some cheats. In the 2D scripting window try writing the following code:
PROJECT2 3, 270, 2This will tell ArchiCAD to look at the object from above and draw what it sees in 2D. Of course there are issues with this approach. If you use this frequently, or use parts that use this technique frequently, you will slow down the program. Also you may want a more symbolic view of the object in 2D than this provides. To handle these cases, you need to script the 2D yourself.
Also, I suggest that you add a signature (click the Profile link at the top of the screen) with information about your system and version of ArchiCAD. Sometimes correct answers depend on this information. In this instance, I know you are using a more recent version of ArchiCAD than I am since I could not open your part.
Erich
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-07-21 01:05 AM
2011-07-21
01:05 AM
WOW!!
That was a nice trick. Thank you Erich.
It was very helpful. Now i can see my objects in 2D. Is there a way i can use fill on the object, so that i can select it without trying to find the nobes in the corner of the object?
If you have any other useful tricks/codes i whould be more than greatfull..
Thank you.
That was a nice trick. Thank you Erich.
It was very helpful. Now i can see my objects in 2D. Is there a way i can use fill on the object, so that i can select it without trying to find the nobes in the corner of the object?
If you have any other useful tricks/codes i whould be more than greatfull..
Thank you.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-07-21 03:01 PM
2011-07-21
03:01 PM
omar wrote:The PROJECT2 will not do this, you will need to start to learn GDL scripting to accomplish this (and many other features). While saving objects from a .pln file (the 3D Script looks like this) can create simple (basically non-parametrtic) objects, the power lies in scripting.
Is there a way i can use fill on the object, so that i can select it without trying to find the nobes in the corner of the object?
David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-07-22 03:54 AM
2011-07-22
03:54 AM
Have a look at PROJECT2{2}.
This allows you to set values for the fills.
PROJECT2{3} gives you even more control over how things look.
From the manual ...
The 2nd version PROJECT2{2}, together with a previous SET FILL command, allows the user to control the fill background, origin and direction of the
resulting drawing from the 2D script. The third version, PROJECT2{3}, adds the posibility to define which parts of the projected model are
required and to control separately the attributes of the cut and view part, including the line type. You can also generate the projection with actual
parameters set in the command.
Barry.
This allows you to set values for the fills.
PROJECT2{3} gives you even more control over how things look.
From the manual ...
The 2nd version PROJECT2{2}, together with a previous SET FILL command, allows the user to control the fill background, origin and direction of the
resulting drawing from the 2D script. The third version, PROJECT2{3}, adds the posibility to define which parts of the projected model are
required and to control separately the attributes of the cut and view part, including the line type. You can also generate the projection with actual
parameters set in the command.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-07-22 07:28 AM
2011-07-22
07:28 AM
"The third version, PROJECT2{3}, adds the posibility to define which parts of the projected model are
required and to control separately the attributes of the cut and view part, including the line type. You can also generate the projection with actual
parameters set in the command. "
Is there an existing GDL object that shows parts?
Does it mean that you can split the 3d model to parts, which can be shown in 2d controlled by this command?
required and to control separately the attributes of the cut and view part, including the line type. You can also generate the projection with actual
parameters set in the command. "
Is there an existing GDL object that shows parts?
Does it mean that you can split the 3d model to parts, which can be shown in 2d controlled by this command?
- AC-24 FIN - WIN 10 - HP Zbook -
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-07-22 08:43 AM
2011-07-22
08:43 AM
I don't have any working examples of this.
And apart from a cursory look at it I have never used it as I try and avoid PROJECT2 whenever possible.
It looks interesting though.
There is an explanation and example on the Self-GDL website (you will need to download the web control add-on from the Graphisoft web site).
But the link to the example file is not working at the moment.
http://www.selfgdl.com/2d_elemente/projection/c_PROJECT23/kompendium.php
Maybe if Frank Beister sees this he might be able to fix the link please?
I believe Frank is the driving force behind Self-GDL.
Barry.
And apart from a cursory look at it I have never used it as I try and avoid PROJECT2 whenever possible.
It looks interesting though.
There is an explanation and example on the Self-GDL website (you will need to download the web control add-on from the Graphisoft web site).
But the link to the example file is not working at the moment.
Maybe if Frank Beister sees this he might be able to fix the link please?
I believe Frank is the driving force behind Self-GDL.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11