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

Forum Posts

Resolved! Where is the BMModifyHandleState function?

Hey, according to the docs, we have to lock the handle's memory before accessing it (I guess to avoid race conditions with the memory manager during memory relocation). To do this we have to call BMModifyHandleState and set the state to locked. Howev...

Anonymous by Not applicable
  • 295 Views
  • 1 replies
  • 0 likes

LibXL - How to convert GS::UniString to wchar_t *?

Hi,I'm looking at the Database_Control example for Archicad 23 and I see that the example shows using a define to convert: UNISTR_TO_LIBXLSTR(str) (str.ToUstr ()) , however I cannot get the example or my own project to build when following this code....

Resolved! ACAPI_LibPart_SetDetails_ParamDef function signature

Hello,the function signature of ACAPI_LibPart_SetDetails_ParamDef looks like this: ACAPI_LibPart_GetSect_ParamDef (const API_LibPart *libPart, API_AddParType **addPars, double*a, double*b, GSHandle sect2DDrawHdl, GSHandle *sectionHdl, GS::UniString *...

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

Export DWG with code?

HelloI want to exports DWG file with API.I didn’t find a way to do it.Thanks in advance!Edit:I was able to do that with the example in the MSDN at ACAPI_command_externalcall

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

2D Text Limitation in Opening Tool

Are there any limitations in the 2D Script of the new(23) Opening Tool. I have to create a 2D text, but it's only shown in the Preview, but not in the plan. Anothe Problem is that i want to show this text outside the opening boundaries, but 2 D Eleme...

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

Return size of macro

Anyone has a nice strategy to get the size of the macro you're calling?This would be very handy.E.g. row of chairs where you want to place them in distance.Returning "A" and "B" doesn't work, sadly.

runxel by Ace
  • 729 Views
  • 10 replies
  • 0 likes

Resolved! Hiding 2D hotspots in 3D view

My object is displaying static hotspots from the 2D script in the 3D view. For clarity in my model I only want to see the few 3D hotspots I have created. How do I hide the 2D hotspots without loosing associative dimensions in 2D?Is this a job for GLO...

Moving part of an objet with a hotspot

I am trying to put in place an objet that has a 3D form and 2D éléments, the red lines (please see images). I would like to allow the user to move manually the 2D lines in red. The 2D red lines are on itself an objet that is called into the final obj...

Anonymous by Not applicable
  • 983 Views
  • 11 replies
  • 0 likes