Topics specific to the scripting and development of Library Parts and Libraries using Param-O or the Geometric Description Language – GDL. (Example: How do you use “REQUEST” GDL commands?)
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.
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/ ... nt-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
Moonlight wrote: ↑Sun Aug 23, 2020 7:32 pm
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
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.
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
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.