Check if the specified TIN type of the specified Site Model object is visible.
FUNCTION DTM6_IsTypeVisible(
hDTMObject : HANDLE;
TINType : INTEGER):BOOLEAN;def vs.DTM6_IsTypeVisible(hDTMObject, TINType):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| hDTMObject | HANDLE | A handle to the Site Model object. |
| TINType | INTEGER | A number specifying which TIN type is to be check for visibility. See the remarks for detail information of the options. |
Here is the list of TINType values. The function will return TRUE when these conditions are met. 2DDisplay and 3DDisplay are parameters of the Site Model object controlling if the Existing or Proposed model are to be displayed in 2D or 3D: *0 - 2D/3D existing -- IF (2DDisplay == Existing) OR (2DDisplay == ExistingOrProposed) OR (3DDisplay == Existing) THEN RETURN TRUE *1 - 2D/3D proposed -- IF (2DDisplay == Proposed) OR (2DDisplay == ExistingOrProposed) OR (3DDisplay == Proposed) THEN RETURN TRUE *2 - 2D existing -- IF (2DDisplay == Existing) OR (2DDisplay == ExistingOrProposed) THEN RETURN TRUE *3 - 2D proposed -- IF (2DDisplay == Proposed) OR (2DDisplay == ExistingOrProposed) THEN RETURN TRUE *4 - 3D existing -- IF (3DDisplay == Existing) THEN RETURN TRUE *5 - 3D proposed -- IF (3DDisplay == Proposed) THEN RETURN TRUE
M6_Sample}}
DTM6_GetDTMObject | DTM6_IsDTM6Object | DTM6_IsObjectReady
Availability: from All Versions
This is drop-in function.
- SiteModel Interface Library