public static iLogicForm Get(UiStorage storage, string formName, InventorParameters allowedParameters) { FormSpecification formSpec = storage.LoadFormSpecification(formName); var extractor = new FormExtractor(formSpec, allowedParameters); return(extractor.Run()); }
static void Main(string[] args) { if (args.Length > 1) { UiStorage uUiStorage = new UiStorage(); uUiStorage.CopyFile(args[0], args[1], false).Wait(); } }
/// <summary>Constructor.</summary> /// <param name="document">Inventor document.</param> /// <param name="allowedParameters">Map with Inventor parameters, which are allowed to be extracted.</param> public iLogicFormsReader(Document document, InventorParameters allowedParameters) { _allowedParameters = allowedParameters; _storage = UiStorageFactory.GetDocumentStorage(document); }
/// <summary> Constructor. </summary> public iLogicFormsReader(Document document, string folder) { this.storage = UiStorageFactory.GetDocumentStorage(document); this.document = document; this.folderPath = folder; }