Get a list of elements in a 12d model project

Namespace: SynergyClientAPI.TDProjects
Assembly: SynergyClientAPI (in SynergyClientAPI.dll)

Public Shared Function GetElements( _ 
ByVal td_project_id As EntityID, _ 
ByVal type As TDElementType, _ 
ByVal shared_only As Boolean
) As DataOperationResponse(Of List(Of TDElement))
This language is not supported or no code example is available.
public static DataOperationResponse<List<TDElement>> GetElements( 
EntityID td_project_id
TDElementType type
bool shared_only 
)
This language is not supported or no code example is available.
public:  
static DataOperationResponse<List<TDElement^>^>^ GetElements( 
EntityID^ td_project_id
TDElementType type
bool shared_only 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

td_project_id
Type: EntityID

Id of the 12d model project

type
Type: TDElementType

Type of the element (Model or tin)

shared_only
Type: bool

whether or not they have been shared

Return Value

Type: DataOperationResponse<List<TDElement>>

the list response, including all 12d model elements

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1