cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Wishes forum

GDL should be able to reference all view options

Erich
Newcomer
It would nice for GDL be expanded to allow us to reference all Model View Option settings (the attached image depicts some that cannot currently be referenced). This would allow the creation of objects that respond to view settings consistent with the way model elements do (such as beams in this instance) making it easier to work with ArchiCAD.
Erich

AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
18 REPLIES 18

Anonymous
Not applicable
It makes perfect sense to allow GDL objects to react to these settings.

Essential.

Laura Yanoviak
Enthusiast
Peter wrote:
Essential.
ABSOLUTELY!
MacBook Pro 2.4 GHz Intel Core i9, 32 GB of RAM

AC25 US (3011) AC24 on Mac OS Catalina 10.15.7

Anonymous
Not applicable
Wish a little do not understand, because you do not speak, do you know about the directive LINE_PROPERTY for lines and status codes 32 and 64 for POLY2_B{2} and POLY2_B{3}.

Lines and fills in GDL may be dependent on the Model View Option. On the screenshot, I mark out the position, on which they may react.

Or do you want to settings for beams and columns were also available for GDL?

Laura Yanoviak
Enthusiast
I believe this has more to do with "Options for GDL Objects" as introduced in AC11, which allows you to program objects to appear differently in Ceiling Viewpoints, than in Floor Plan Viewpoints. For instance, we use this to control the appearance of our Zone Stamps. It would be nice to have the stamp appear differently in other MVOs.
Options for GDL Objects.jpg
MacBook Pro 2.4 GHz Intel Core i9, 32 GB of RAM

AC25 US (3011) AC24 on Mac OS Catalina 10.15.7

Erich
Newcomer
Valery,

Indeed I have not used, nor required, the LINE_PROPERTY directive. It is nice to be made aware of its existence. Unfortunately it does not appear to apply in this case. This wish derived from a rafter object I was scripting that I wished to respond as beams do to the Model View Option (MVO) settings.

There are other work around methods, I am currently using the partial structure display settings available in AC12, but the ability to have parts respond to any of the MVO settings would be preferable.
Erich

AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K

Anonymous
Not applicable
I've just been looking at the latest AC13 GDL specification, and it looks like this may have been answered! Library parts will be able to create their own MVOs.

It would be great if one of the beta testers could flesh out some of the details, as it hasn't been mentioned anywhere else yet.

This could have some interesting possibilities for GDL object development.

Karl Ottenstein
Moderator
Peter wrote:
Library parts will be able to create their own MVOs
Curious where you saw that phrase? Link?

[EDIT: Bummer - a message was posted responding to my question giving a link to a GDL reference document ... but that message and link got deleted. I have been unable to find any documentation for this new feature.]

Thanks,
Karl
One of the forum moderators   •   AC 26 USA and earlier   •   macOS 12.6.1, iMac Pro 10-Core, Radeon Pro Vega 64

Laszlo Nagy
Community Admin
Community Admin
Peter wrote:
I've just been looking at the latest AC13 GDL specification, and it looks like this may have been answered! Library parts will be able to create their own MVOs.

It would be great if one of the beta testers could flesh out some of the details, as it hasn't been mentioned anywhere else yet.

This could have some interesting possibilities for GDL object development.
What this new feature is about is that several settings that were so far in individual Library parts are now part of Model View Options Combinations, thereby providing a way to globally set the display of such things.
Among settings that can be set this way are:

Minimal Space for Furnishing
Door/Window Opening Lines in 2D
Door/Window Opening Lines in 3D
Furniture Knobs
Taps
Door Handles and Knobs

So now you can go to the Model View Options Dialog and for example turn off Opening Lines in 3D for all Doors and Windows in your project. This would be good for Building Permit Drawings. Then when you are in CD phase you turn it on and all of them will display these.
....................................................................................................
Get Archicad Tips at https://twitter.com/laszlonagy
AMD Ryzen 1700X CPU, 48 GB RAM, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), WIN10 PRO ENG, AC20-AC26
Loving Archicad since 1995

owen
Newcomer
Ah .. now that sounds really good.

I assume all the objects have to be (re)written to make use of these new options .. so older libraries wont work with them. Still a nice little development.
cheers,

Owen Sharp

Design Technology Manager
fjmt | francis-jones morehen thorp

iMac 27" i7 2.93Ghz | 32GB RAM | OS 10.10 | Since AC5

Laszlo Nagy
Community Admin
Community Admin
I have not tried previous library parts with this option of AC13 but I suppose that these MVO settings will not affect library parts coming from earlier versions. Only library parts which are written to read these settings and act accordingly will have this intelligence.
....................................................................................................
Get Archicad Tips at https://twitter.com/laszlonagy
AMD Ryzen 1700X CPU, 48 GB RAM, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), WIN10 PRO ENG, AC20-AC26
Loving Archicad since 1995

Anonymous
Not applicable
Karl wrote:
Peter wrote:
Library parts will be able to create their own MVOs
Curious where you saw that phrase? Link?

Thanks,
Karl
Karl, Here's my source -

http://www.graphisoft.com/ftp/techsupport/documentation/developer_docs/BasicLibraryDoc/13/LibDevGuide/GDL_NewFeatures_13.html

I badly paraphrased it to be honest. (sorry!) From the description it sounds like you can create your own custom global parameters, not just the ones that Laszlo has listed. It seems you have to create a special library part which creates the 'tab' in the MVO, with the global options as parameters. Is this correct?

Thanks for the extra information Laszlo. It sounds like it really is quite a powerful new feature.

Laszlo Nagy
Community Admin
Community Admin
OK, that does sound interesting.
I thought that the options in the MVO Dialog are hard wired.
But from this article it seems the options displayed here can dynamically change depending on what objects are loaded in the Libraries.
Just like the User Interface page of any object can be custom in the Settings Dialog, the global settings page of Library Parts can be custom in the MVO Dialog. Sounds good to me, I did not know that.
....................................................................................................
Get Archicad Tips at https://twitter.com/laszlonagy
AMD Ryzen 1700X CPU, 48 GB RAM, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), WIN10 PRO ENG, AC20-AC26
Loving Archicad since 1995

owen
Newcomer
thats how i read it too .... sounds very powerful indeed.
cheers,

Owen Sharp

Design Technology Manager
fjmt | francis-jones morehen thorp

iMac 27" i7 2.93Ghz | 32GB RAM | OS 10.10 | Since AC5

Anonymous
Not applicable
Does this mean that library parts will be able to access and be controlled by the standard MVOs as well?

For example, the question at the start of the thread - can you program a beam object to behave according to the beam specific MVOs?

I guess you could create your own separate controlling parameter, but I would hope that the existing MVO parameter would be able to control all 'beams' in AC13.

Laszlo Nagy
Community Admin
Community Admin
Peter wrote:
Does this mean that library parts will be able to access and be controlled by the standard MVOs as well?

For example, the question at the start of the thread - can you program a beam object to behave according to the beam specific MVOs?

I guess you could create your own separate controlling parameter, but I would hope that the existing MVO parameter would be able to control all 'beams' in AC13.
I don't think that this new feature will be able to do that.
The way these kind of things usually work is that new GDL Global Variables are introduced which GDL Scripts can read and act accordingly.
But I do not see any such new GDL Global which would enable to read states of already existing MVO settings.
Would be nice though.
I said this before that in my opinion GDL should be able to inquire a lot more about the state of the Project, including all MVO settings and all Project Preferences.
....................................................................................................
Get Archicad Tips at https://twitter.com/laszlonagy
AMD Ryzen 1700X CPU, 48 GB RAM, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), WIN10 PRO ENG, AC20-AC26
Loving Archicad since 1995

owen
Newcomer
laszlonagy wrote:
Peter wrote:
Does this mean that library parts will be able to access and be controlled by the standard MVOs as well?

... can you program a beam object to behave according to the beam specific MVOs?
I don't think that this new feature will be able to do that.
The way these kind of things usually work is that new GDL Global Variables are introduced which GDL Scripts can read and act accordingly.
But I do not see any such new GDL Global which would enable to read states of already existing MVO settings.
Would be nice though.
I said this before that in my opinion GDL should be able to inquire a lot more about the state of the Project, including all MVO settings and all Project Preferences.
aaaargh! When will they ever finish something properly!!??

I'm not shooting the messenger here - who in their right mind introduces such a poweful feature as Library-defined MVO's and then does not go the last 10% and include the ability to query the already existing MVO's??? GS decisions truly baffle me at times...
cheers,

Owen Sharp

Design Technology Manager
fjmt | francis-jones morehen thorp

iMac 27" i7 2.93Ghz | 32GB RAM | OS 10.10 | Since AC5

Karl Ottenstein
Moderator
Peter,

Thanks for that link! That is not something I had heard about. Like Laszlo, I thought the new MVO's were hard-wired and so could be used, but not that new ones could be created. Will be very interesting to learn more as more info is released.

Thanks!

Karl
One of the forum moderators   •   AC 26 USA and earlier   •   macOS 12.6.1, iMac Pro 10-Core, Radeon Pro Vega 64

Laszlo Nagy
Community Admin
Community Admin
I think this feature opens a lot of possibilities.
Firms can customize their Libraries and script custom settings for their display.
I can also see business opportunities for consultants to help firms in this task.

For example, I can imagine a Global Setting where you could set what phase you are in: Conceptual, DD, CD.
Then many Library parts would behave accordingly.
We know that Project Files need to contain different information in different phases. For example, Door/Window Marker would automatically display their Marker circle and ID when we enter the CD phase but not earlier.
....................................................................................................
Get Archicad Tips at https://twitter.com/laszlonagy
AMD Ryzen 1700X CPU, 48 GB RAM, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), WIN10 PRO ENG, AC20-AC26
Loving Archicad since 1995

Start a new conversation!

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!