Hi All, Having trouble reloading BIM server libraries when using the
sample code from the developer docs. It reloads the libraries, but
instead of reloading the BIM libraries, it drops them and loads them as
linked libraries at C:\Users\username\Grap...
Hi all, Just worked out how to define a fill in GDL and choose between
'Scale with plan' or 'Scale independent', as per the standard Fill Types
Options - using the FILLTYPES_MASK when defining the fill. The GDL
manual documents the available fill typ...
Hi All, Can the Notification Manager be used before a user request for
the API is called? I would like to install
ACAPI_Notify_CatchProjectEvent prior to the user calling any functions
in the API. I have tried adding it to the Initialise function how...
Hi all, I am having problems changing custom GDL parameters on Zone
Stamp objects. I am trying to correct an API that I have inherited - the
function I am working on changes a custom GDL parameter of objects
placed in the floor plan. The function is ...
Has anyone else worked with the JSON parsing in the ArchiCAD API? I am
facing a similar problem to Bianca's example above. I can get the
response data as text no worries, but cannot seem to get a member string
value cast to GS::UniString.
Thanks for checking through the code Tibor. I have amended my function
with your updates. The Zone Stamp object is selected using the
API_ObjectID type (not API_ZoneID) through;
ACAPI_Element_GetElemList(API_ObjectID, &elemList) It is the stamp
Thanks for the document Karl, great to have some more reference. The
Type Conversion section indicates that type GDLVARIANT is not able to be
cast, but in my example I am CASTing objects.parameters.value (which is
type GDLVARIANT) to type CHAR and it...