regularfry
08-31-2006, 05:53 AM
I'm trying to get surface information in Layout. This doesn't seem to work:
LWSurfaceID surf_id;
int result;
double angle;
surf_id = surff->byName(surf_name, object_name);
angle = *(surff->getFlt(surf_id, SURF_SMAN));
result = (angle != 0.0f);
The value of angle always comes back as 0.0, no matter what the smothing threshold on the surface is set to. Any ideas why?
LWSurfaceID surf_id;
int result;
double angle;
surf_id = surff->byName(surf_name, object_name);
angle = *(surff->getFlt(surf_id, SURF_SMAN));
result = (angle != 0.0f);
The value of angle always comes back as 0.0, no matter what the smothing threshold on the surface is set to. Any ideas why?