Loads from TerraGate SFS an IMeshLayer65 representing a unified, stream optimized 3D Mesh Layer (3DML) database.
JavaScript |
|
CreateMeshLayerFromSFS( ServerPath, layerName, ParentGroupID) |
C# |
|
IMeshLayer65 CreateMeshLayerFromSFS( string ServerPath, string layerName, [string ParentGroupID = ""]) |
C++ |
|
HRESULT CreateMeshLayerFromSFS( BSTR ServerPath, BSTR layerName, BSTR ParentGroupID, IMeshLayer65** pIMeshLayer) |
Parameters
ServerPath
A URL to the TerraGate SFS server.
layerName
A string representing the name of the layer
ParentGroupID
The Project Tree group in which the layer is created. If it is set to an empty string, the object is created under the root. You can obtain the GroupID by one of the following methods:
· Create the group using IProjectTree65.CreateGroup.
· Find the group, if you know the name, using IProjectTree65.FindItem.
· Traverse the Tree using IProjectTree65 methods such as GetNextItem, until you come to the desired GroupID.
Return Value
pIMeshLayer
An IMeshLayer65 representing the newly created layer.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.