public ButtonAction() { oAsmDoc = CAddIn.App.ActiveDocument as AssemblyDocument; //oDrawDoc = CAddIn.App.Documents.Add(DocumentTypeEnum.kDrawingDocumentObject, // CAddIn.App.FileManager.GetTemplateFile(DocumentTypeEnum.kDrawingDocumentObject)) as Inventor.DrawingDocument; Writer = new DrawingMaker(); }
public ButtonAction() { oAsmDoc = CAddIn.App.ActiveDocument as AssemblyDocument; Writer = new DrawingMaker(); Writer.Processors.Add(SheetProcessors.CreateViews); Writer.Processors.Add(SheetProcessors.ChangeTitleBlock); Writer.Processors.Add(SheetProcessors.AddPartsList); Writer.Processors.Add(SheetProcessors.AddDimensions); Writer.Processors.Add(SheetProcessors.AddCenterlines); }