2027 Constructor
Changes 0
C

RevitLinkOptions(Boolean, WorksetConfiguration)

Description:
Creates a RevitLinkOptions object, specifying relative or absolute path type, and the desired workset configuration.
Overloads (3):
RevitLinkOptions(Boolean,WorksetConfiguration)
public RevitLinkOptions(
	bool relative,
	WorksetConfiguration config
)
  • Boolean
    relative
    True if the link should use a relative path. False if it should use an absolute path.
  • config
    A WorksetConfiguration object specifying the worksets to open when creating the link. Leave as null if the file is not workshared. Optionally, this may also be null for a workshared file, in which case Revit will open all worksets.