Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.64 KB

File metadata and controls

45 lines (34 loc) · 1.64 KB

DTM6_IsTypeVisible

Description

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

Parameters

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.

Remarks

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

Examples

M6_Sample}}

See Also

DTM6_GetDTMObject | DTM6_IsDTM6Object | DTM6_IsObjectReady

Version

Availability: from All Versions

This is drop-in function.

Category

  • SiteModel Interface Library