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

Forum Posts

Resolved! definition Default Value

Just completed a snippet which changes the Default Value of some Definitions. I used the function ACAPI_Property_ChangePropertyDefinition, however, that function failed. i seems it has to be wrapped in a undoable callback. ACAPI_callUndoableCommand. ...

Resolved! bug in program API 21.22 ACAPI_Element_Create

Hello, help me find a solution, the ACAPI_Element_Create function in the archicad version 21, 22 does not work for the zone surrounded by walls. Finding an error on my own led to the fact that I created a program that can be inserted into a standard ...

Anonymous by Not applicable
  • 1065 Views
  • 2 replies
  • 0 likes

Add a new publishing method

Hi, I would like to know If it's possible to overload the "Publishing Set Properties" Dialog. Is there a way to add a custom publishing method which load it own form ? If not, it is possible to add a button next to the "Browse" button in order to ret...

Anonymous by Not applicable
  • 557 Views
  • 0 replies
  • 0 likes

Resolved! Communicating with an external program.

I need an external stand-alone program to be able to communicate with Archicad, specifically to get information about walls and slabs, and send back data to create materials with. Currently I have written an add-on that packs the necessary data into ...

Resolved! Write Report

This question has been asked before but I don't think there has been a satisfactory answer. The WriteReport function in the examples is not writing to the Session Report. Is there another location other than the Session Report? I have checked the Wri...

Resolved! Attribute index

I am trying to obtain the attribute index (Font) by typeID and name in the attribute header. ACAPI_Attribute_Search(...) Can't figure out the code to set the name -- my 'C' is not so good. The name can be set either by the attribute name[API_AttrName...

Property Definition Element list

Knowing the definition guid, can one obtain a list of all elements (guidlist) which have that particular property definition assigned to it? I know that I can get a list of all elements for a particular element type, then iterate through the list to ...

Resolved! AddOn functions call back

I believe it is possible to call one plugin from another. Is it possible to call a function within one plugin from another plugin ? if so, any documentation? I am asking out of convenience. If one compiles and loads the Example plugins. One could eas...

Resolved! Problems retrieving 3D objects

Hey everyone, i implemented a KD-Tree structure in an ArchiCAD 21 Addon to sort all the 3D elements in the 3D-model. But im having a little trouble feeding the right information to it: As far as i have seen from the example there are basically two wa...

Anonymous by Not applicable
  • 873 Views
  • 3 replies
  • 0 likes

Resolved! Draw Text

Trying to draw some simple text at the origin. I'm guessing I need to use the function API_Element_Create() but I'm obviously doing something wrong as I get a compile message of 'no suitable conversion function from API_TextType to API_Element' Can't...