Creates a new point cloud type for a given point cloud engine.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.1.0)
Since:
2012
Syntax
| Visual Basic |
|---|
Public Shared Function Create ( _
document As Document, _
engineIdentifier As String, _
typeIdentifier As String _
) As PointCloudType |
| Visual C++ |
|---|
public:
static PointCloudType^ Create(
Document^ document,
String^ engineIdentifier,
String^ typeIdentifier
) |
Parameters
- document
- Type: Autodesk.Revit.DB..::..Document
The document in which to create the point cloud.
- engineIdentifier
- Type: System..::..String
The string identifying the engine to be invoked.
It should be the file extension or engine identifier registered by the third party.
- typeIdentifier
- Type: System..::..String
The file name or the identification string for a non-file based engine.
Return Value
The newly created PointCloudType object to be used to create instances of
this point cloud.
Remarks
Examples
CopyC#
private PointCloudInstance CreatePointCloud(Document doc)
{
PointCloudType type = PointCloudType.Create(doc, "rcs", "c:\\32_cafeteria.rcs");
return (PointCloudInstance.Create(doc, type.Id, Transform.Identity));
}
CopyVB.NET
Private Function CreatePointCloud(doc As Document) As PointCloudInstance
Dim type As PointCloudType = PointCloudType.Create(doc, "rcs", "c:\32_cafeteria.rcs")
Return (PointCloudInstance.Create(doc, type.Id, Transform.Identity))
End Function
Exceptions
See Also