Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.
2020-03-06
04:40 PM
- last edited on
2021-09-15
12:38 PM
by
Noemi Balogh
GS::Array<API_Guid> elemList; ACAPI_Element_GetElemList(API_LampID, &elemList, APIFilt_OnActFloor, APIVarId_Light, APINULLGuid); for (const auto& e : elemList) { API_Element element; BNZeroMemory(&element, sizeof(API_Element)); element.header.guid = e; if (ACAPI_Element_Get(&element, 0) == NoError) { element.lamp.lightColor = API_RGBColor{ 1.f, 0.f, 0.f }; element.lamp.lightIsOn = true; } }
Solved! Go to Solution.
2020-03-07 06:46 PM
2020-03-07 06:46 PM
2020-03-09 11:24 AM