I am experiencing a problem when enumerating the lights in a model.-
Load the S-Office sample- Call ModelerAPI::Model::GetLightCount(),
returns 253 lights in the model.- Call ModelerAPI::Model::GetLight(4,
&light), and argument 4 causes exception to ...
The light properties as given by the ModelerAPI are a bit too
rudimentary for me. For this reason I am enumerating C4D light
properties by calling ModelerAPI::Light::GetExtraParameters()I found
some documentation on C4D light properties
When looking at some headers of the SDK, it looks like a GenId might
refer to a "Genral Unique Id".But, still, what's a GenId, and since
elements can already return a GS::Guid, what purpose might it serve?
Has anyone ever noticed that quite a few objects from the library of
objects in Archicad are made of parts with polygons with the wrong
winding order? In theory, front-facing polygons should have vertices in
counter-clockwise order, but some objects ...
Hi.It seems there are different ways of getting textures while iterating
through the mesh bodies of an element.There's: - MeshBody::GetTexture(
&texture );- MeshBody::GetMaterial( &material ); material.HasTexture()
and then material.GetTexture( &text...
I am encountering the same issue for the same use case as the Original
Poster: I want to implement a live connection to an external viewer, and
I need to know when things have changed on an element so that I can push
that change to the external viewe...
I am working on Archicad 24/25 plugin. And I'm sorry about reviving
this. I replied because I always assume that if I struggle with
something, then others are likely to eventually struggle with it also.
And whenever I post questions, if I don't get a...
I would like to confirm that the code posted by paulk is indeed
incorrect. Modeler::SightPtr currentSightPtr; GSErrCode err =
ACAPI_3D_GetCurrentWindowSight ((void**)¤tSightPtr); A
Modeler::SightPtr happens to be a GS::SharedPtr, which is not the
DevJeer wrote: How can I get the Latitude and longitude coordinates
coordinate of element? I happen to know about this a little bit. Lat/Lon
coordinates locate you anywhere on the globe, but because it's MUCH more
convenient to think of buildings bei...
Yes, that is the first thing I tried but unfortunately the rendering
engine I use has a bug which makes double-sided polygons not work
property. So I had to hack it this way. I guess I should have mentioned