ExtendedPropertiesLink.CreateFromCloudDataset
Description:
Creates the ExtendedPropertiesLink in the given document from a cloud dataset.
Creates the ExtendedPropertiesLink in the given document from a cloud dataset.
public static LinkLoadResult CreateFromCloudDataset(
Document doc,
string datasetId
)
-
docDocument which will gain an ExtendedPropertiesLink. The document must correspond to a cloud model.
-
StringdatasetIdThe id of the dataset in Autodesk Construction Cloud; it should be hosted in the same project as the document. A valid dataset id should start with "urn:WIPENVIRONMENT:dm.lineage:", followed by an unique identifier. The WIPENVIRONMENT varies from Region to Region. An example of a valid dataset id for an account created in the US Region would be urn:adsk.wipprod:dm.lineage:AoV26TGqRjuNs4ANq84ncQ.
-
doc is a not cloud model, cannot execute this operation. -or- The document must be a cloud model with a valid project id. -or- The document does not support extended properties links.
-
A non-optional argument was null
-
The extended properties server does not exist.
-
The document is in failure mode: an operation has failed, and Revit requires the user to either cancel the operation or fix the problem (usually by deleting certain elements). -or- The document is being loaded, or is in the midst of another sensitive process.
-
The document has no open transaction.