コード例 #1
0
            public static iLogicForm Get(UiStorage storage, string formName, InventorParameters allowedParameters)
            {
                FormSpecification formSpec = storage.LoadFormSpecification(formName);
                var extractor = new FormExtractor(formSpec, allowedParameters);

                return(extractor.Run());
            }
コード例 #2
0
        static void Main(string[] args)
        {
            if (args.Length > 1)
            {
                UiStorage uUiStorage = new UiStorage();

                uUiStorage.CopyFile(args[0], args[1], false).Wait();
            }
        }
コード例 #3
0
 /// <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);
 }
コード例 #4
0
 /// <summary> Constructor. </summary>
 public iLogicFormsReader(Document document, string folder)
 {
     this.storage    = UiStorageFactory.GetDocumentStorage(document);
     this.document   = document;
     this.folderPath = folder;
 }