Archicad C++ API
About Archicad add-on development using the C++ API.

API Viewpoint position in Issues/Markups

Iyur
Booster

Hello there.

Is there any way to retrieve viewpoint position (if exists) for the chosen issue/markup? I could fetch issue data, comments, attached elements etc, but haven't found any reletaed commands to get viewports in API reference. Meanwhile, there is BCF export, that actually extract the data about viewpoints (you can investigate them while exporting into the bcfzip format). So, they could be retrieved somehow, but how exactly?

image1.png

image2.png

 

 

 

3 REPLIES 3
LChen
Graphisoft
Graphisoft

Hi,

If you export markup issue into BCF file, then change the file extension from .bcf to .zip and unzip the file. You can find there is a viewpoint.bcfv (xml format) file which contains camera info.

HTH 

Yeah, I'm actually using this way. But I was wandering is there any other API methods for this.

LChen
Graphisoft
Graphisoft

Unfortunately I'm afraid you can't find other method in current API.