public FDatasmithRevitExportContext( Application InApplication, // running Revit application Document InDocument, // active Revit document Dictionary <ElementId, string> InDatasmithFilePaths, // Datasmith output file path DatasmithRevitExportOptions InExportOptions, // Unreal Datasmith export options FDirectLink InDirectLink // DirectLink manager ) { ProductVersion = InApplication.VersionNumber; DatasmithFilePaths = InDatasmithFilePaths; RevitDocument = InDocument; DirectLink = InDirectLink; // Get the Unreal Datasmith export options. DebugLog = InExportOptions.GetWriteLogFile() ? new FDatasmithFacadeLog() : null; LevelOfTessellation = InExportOptions.GetLevelOfTessellation(); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FDatasmithFacadeLog obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }