We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2018-01-19 01:09 AM - last edited on 2022-12-06 01:45 PM by Daniel Kassai
- items[0] 0x00000000125496e0 {name=0x00000000125496e0 "Demo with all layers" autoTextedName=0x0000000012549760 "Demo with all layers" uiId=0x00000000125497e0 "" ...} API_NavigatorItem * + name 0x00000000125496e0 "Demo with all layers" char [128] + autoTextedName 0x0000000012549760 "Demo with all layers" char [128] + uiId 0x00000000125497e0 "" char [128] + guid {time_low=973274031 time_mid=59370 time_hi_and_version=18688 ...} API_Guid + db {typeID=APIWind_3DModelID index=0 databaseUnId={...} ...} API_WindowInfo floorNum 0 short vType 0 short filler_1 0 int + camId {time_low=0 time_mid=0 time_hi_and_version=0 ...} API_Guid mapId API_UndefinedMap API_NavigatorMapID itemType API_PerspectiveNavItem API_NavigatorItemTypeID + guid2 {time_low=0 time_mid=0 time_hi_and_version=0 ...} API_Guid owner 0 int customName 1 '' unsigned char customUiId 0 unsigned char filler_2 0 short + filler_3 0x0000000012549f00 int [6]I assume that once I get a proper camId. Then I would need to do something like the below code:
API_Element element; BNZeroMemory( &element, sizeof(API_Element)); element.header.guid = camId; // Passing the camId GSErrCode err = ACAPI_Element_Get(&element); if ( err == NoError ) { // check the element.camera or cameraset for the parameters. }Is this the right way of going about it? If so how can I get a valid camId? If not what is an alternative way of accomplishing the above?