Set binary 3D data to library part
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-02-25
02:38 PM
- last edited on
2022-09-26
11:00 PM
by
Daniel Kassai
2020-02-25
02:38 PM
For performance reasons I would like to add binary 3D data instead of scripted 3D data in the section API_Sect3DScript to a libraray part. The section API_Sect3DBinData seems to be what I need. But how can I use it?
AC22-27, Windows 11, i7-1355U, 32GB RAM, 2TB SSD
Labels:
- Labels:
-
Add-On (C++)
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-20 04:30 PM
2020-03-20
04:30 PM
You can update a libpart section using ACAPI_LibPart_UpdateSection.
For more info, see:
http://archicadapi.graphisoft.com/documentation/acapi_libpart_updatesection?s=ACAPI_LibPart_UpdateSe...
API_LibPart libPart = {}; API_LibPartSection section = {}; GSHandle sectionHdl = nullptr; libPart.typeID = APILib_ObjectID; libpart.index = someLibPartIndex; libPart.docu_UName = "MyLibPart"; section.sectType = API_Sect3DBinData; section.subIdent = APISubIdent_Any; err = ACAPI_LibPart_UpdateSection( libPart.index, §ion, sect3DBinaryHandle, nullptr );where sect3DBinaryHandle is a handle to your binary data.
For more info, see:
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-28 02:06 PM
2020-03-28
02:06 PM
Thanks! But is there some specification for the format of the 3D Binary section?
AC22-27, Windows 11, i7-1355U, 32GB RAM, 2TB SSD