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

Questioning about manuals ?

Nader Belal
Advisor
Where is the place that I can propose the editing for manuals ?

For instance, right now, when revising COOR, COOR{2}, COOR{3} GDL commands, there was no mentioning that the these take effect after defining a specific body.
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.
1 ACCEPTED SOLUTION

Solution
Barry Kelly
Moderator
Moonlight wrote:
Where is the place that I can propose the editing for manuals ?

For instance, right now, when revising COOR, COOR{2}, COOR{3} GDL commands, there was no mentioning that the these take effect after defining a specific body.
Well you have mentioned it here - someone from GS may pick up on it.

Or you could try the GDLCenter Forum ... http://gdl.graphisoft.com/forums
That is monitored more by the GDL guys from Graphisoft - at least they reply more there than they do here (for GDL problems).

Or send a support ticket to your local Archicad support people.

Barry.

One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

View solution in original post

79 REPLIES 79

Nader Belal
Advisor
My lovely dear Graphisoft,

ifc_subtype parameter can be considered well documented by your standards.

contrary to ifc_predefined type

it's considered a predefined Graphisoft ArchiCAD's GDL parameter, but there is nothing about it.

Please, if you intend to retire it in the future, couldn't you have left a note.
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Nader Belal
Advisor
Dear Graphisoft,

I here by confirm that there is a typo in your manuals

ArchiCAD 22 - GDL Reference Manual - How to know what the exact GUID of a Library Object is - page 506

ArchiCAD 23 - GDL Reference Manual - How to know what the exact GUID of a Library Object is - page 533

It says:
This dialog appears in 3 contexts:
• Open Object by Subtype ... (in File menu)
• ..... etc, etc
Well I don't know about Mac users, but PC users don't have Open Object by Subtype in the File Menu,

They have it in the "Edit GDL Libaray Parts" toolbar
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Joachim Suehlo
Enthusiast
This is interesting.
I searched for the command on Mac and found it in the work environment under "All commands"
and was able to add it to the File menu.
Joachim Suehlo . AC12-25 . MAC OSX 10.15 . WIN10

Nader Belal
Advisor
@Joachim Suehlo

This is a long thread about suggesting manual's improvements, since that there is no known place where we can suggest edits to the manuals.

Anyway, about your comment, you have just proved my point, and that is in need of revision and proof reading, since that a lot of he users aren't experts and will usually turn to the manual/guides for reference.
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Nader Belal
Advisor
Please Graphisoft

For Migration Script, there is no examples for STORED_PAR_VALUE or DELETED_PAR_VALUE, and it would be nice if you have added this example
https://archicad-talk.graphisoft.com/viewtopic.php?p=273990#p273990
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Nader Belal
Advisor
Hi Graphisoft,

It's me again,

I just wanted you to know is that, in the section of "Global Variable" it would be really nice of you that you made clear that IFC_predefinedtype variable found in all your predefined subtypes and GDL library parts is a parameter that is maintained for the sake of compatibility of current library with previous ones, as was explained be @Péter Baksa.
An IFC translator has a "Type Mapping" preset, where a classification-based or element-based rule set can be defined. In the template shipped with AC, the classification system "ARCHICAD Classification" is set up to work with the IFC translators, always defining an IFC type and Predefined Type. Using these translators, IFC_predefinedtype has no effect.

When an IFC translator is set up to use element mapping, the mapping is not customizable by the user, and depends on the AC version. For AC23 this document shows two MEP element types where IFC_predefinedtype is handled by the translator. On the AC side, these parameters are handled by the MEP add-on.

So IFC_predefinedtype is retired, it exists in GDL elements only for compatibility.
source: http://gdl.graphisoft.com/forums/topic/questions-about-ifc_predefinedtype-gdl-parameters/#post-18588
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Nader Belal
Advisor
Hi Graphisoft,

How are you ? Did you miss me ?

For this post issue, it's going to be adding a side/marginal note about Parameter Arrays - Parameter Script - graphical user interface - & n = APPLICATION_QUERY ("parameter_script", "firstoccasion_in_progress", isFirstRun)

The note:

- When working with inter-related parameter arrays that are exposed (or shown in) in the UI that may be updated by adding an index outside the predefined bounds, it is expected that some (or all) the arrays that needs to add a column (or row) may not take effect even when the script is correct.

For those issues, copy the parts of script that updates the parameter arrays to the Master Script.

It's also advisable to put these part inside an (if ... then ... endif) block to execute the code only when needed.
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Nader Belal
Advisor
Hi Graphisoft;

For many years I have used DRAWINDEX,

So how come that until the moment I'm writing this comment, we as ArchiCAD GDL scriptor, are unaware that DRAWINDEX was not like layers being organised inside the script, but like a directory of predefined layers of elements for (figures, fills, lines, text)

Just as was explained by PETER BAKSA in this thread HOW TO RESET DRAWINDEX?

And how is it that until now, we wouldn't know that DRAWINDEX 50 is considered the reset/default value !!!!
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Csilla Mai
Graphisoft
Graphisoft
Dear Moonlight,

Thank you for your suggestions regarding the GDL Manual and the learning materials! We highly value them and will take them into consideration when focusing on the improvement of these materials which we plan to do in the next few years.

Please feel free to give us further feedback in this topic.

Best Regards,
Csilla Mai
Library Platform, Engineering Manager
GRAPHISOFT SE

Nader Belal
Advisor
Next few years ???!!!!
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Nader Belal
Advisor
Hi Graphisoft,

Based on How to make a MEP Equipment object? and I quote the first paragraph:
The MEP Add-On functions can be accessed through the MEP_m_ConnectionsACL_4 macro object.

It happens that we as users can't find this macro, neither in the Graphisoft Installation folder, nor in the MEP Library ... just as vdentello have pointed out in his thread, MEP CONNECTION WON'T ACTUALLY CONNECT

The surprise it becomes available if you open the Dryer library part and search for it in the scripts.
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

vdentello
Participant
Moonlight wrote:
Hi Graphisoft,

Based on How to make a MEP Equipment object? and I quote the first paragraph:
The MEP Add-On functions can be accessed through the MEP_m_ConnectionsACL_4 macro object.

It happens that we as users can't find this macro, neither in the Graphisoft Installation folder, nor in the MEP Library ... just as vdentello have pointed out in his thread, MEP CONNECTION WON'T ACTUALLY CONNECT

The surprise it becomes available if you open the Dryer library part and search for it in the scripts.
The answer to this one is Right here:
http://gdl.graphisoft.com/forums/topic/mep-connection-wont-connect
Complementing what @moonlight said, consider mentioning a few things more clearly on the topic, like the subtype issue that i had with the object or even that if you want a "45 Degree" connection for example you'll need to use 2 Vectors for direction with values of 0.707107 for it to work, otherwise it'll distort the connection.
Archicad User Since 2013
GDL Developer
Experimenting with API
from Brazil

Nader Belal
Advisor
@vdentello

Thank you ... and I invite you to read this thread as this one was made to ask Graphisoft to improve their manuals.
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Peter Baksa
Graphisoft
Graphisoft
Moonlight wrote:

For this post issue, it's going to be adding a side/marginal note about Parameter Arrays - Parameter Script - graphical user interface - & n = APPLICATION_QUERY ("parameter_script", "firstoccasion_in_progress", isFirstRun)

The note:

- When working with inter-related parameter arrays that are exposed (or shown in) in the UI that may be updated by adding an index outside the predefined bounds, it is expected that some (or all) the arrays that needs to add a column (or row) may not take effect even when the script is correct.

For those issues, copy the parts of script that updates the parameter arrays to the Master Script.
Hi, could you write a more detailed example about what the code was trying to do when the update wasn't effective?
Péter Baksa
Software Engineer, Library as a Platform
GRAPHISOFT SE, Budapest

Nader Belal
Advisor
Hi Peter,

Thank you for replying, right now I don't have an example, but when I get one I will mention you
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Nader Belal
Advisor
Hi there,

There is a note that I believe that Graphisoft should include for the VALUES function

Note:
VALUES will not accept a unique negative value for parameter assignment/initiation. Negative values used in VALUES function must exist within a multiple selection of possible values or with in a range of values, whether all values were negative values or not.
such as in the following example

For those cases use PARAMETERS function
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Peter Baksa
Graphisoft
Graphisoft
This sounds like a bug, values doesn't accept the first value to have a negative operator. Please use this as a workaround:
v = -1
values "p" v, -2 ...
or
values "p" 1 * (-1), -2 ....
Péter Baksa
Software Engineer, Library as a Platform
GRAPHISOFT SE, Budapest

runxel
Mentor
Peter wrote:
This sounds like a bug, values doesn't accept the first value to have a negative operator.
This bug is there since the dawn of Archicad... At least I've found references to that for version 9 already

BTW: the following is much easier on the eyes:
values "p" 0-1, -2 ....
AC 24 [ger] | Win 10 | Developer of the GDL plugin for Sublime Text |
«Furthermore, I consider that Carth... yearly releases must be destroyed»

Nader Belal
Advisor
@Peter Baksa @ruxel

I didn't expect that at all, thank you all for you suggestions ...

but i don't think this is to be a bug in the pure sense of the definition cause the VALUES function can work perfect with it's first/only option is a negative value in the following form

values "Param", -1
the comma had made it work

@Peter Baksa

On the other side i found a real bug with VALUES function in the following case
 values "Param", -1, 
if you used the "Check Script" in the GDL editror, the editor will not find the last comma as a violation of GDL's grammer.
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Nader Belal
Advisor
Hi Graphisoft,

I have been revising the TUBE function definition and help, where it explain with a special emphasis about the V-axis with the following quotes
TUBE n, m, mask,
u1, w1, s1,
...
un, wn, sn,
x1, y1, z1, angle1,
...
xm, ym, zm, anglem


and

V axis: approximates the tangent of the generator curve at the corresponding point.


As you will see in the manual, although the V-axis is explained, we don't know where to put it in the Tube function or what's its implication on the results we may get
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!