System.Object
Eplan.EplApi.HEServices.Insert
System.Object
Eplan.EplApi.HEServices.Insert
Insert oInsert = new Insert(); oInsert.WindowMacro("$(MD_MACROS)\\BECK.KL1012.ema", 0, m_oTestProject.Pages[9], new PointD(70.0, 0.0), Insert.MoveKind.Relative);
PageMacro oPageMacro = new PageMacro(); oPageMacro.Open(@"$(MD_MACROS)\1.emp", m_oTestProject); //set new name to only two pages; rest pages will have default names oPageMacro.Pages[1].Name = "=EB3+ET1/2"; oPageMacro.Pages[3].Name = "=EB3+ET1/3"; //overwrite 2., 3. and 4. page Boolean[] arrOverwrite = new Boolean[5] { false, true, true, true, false }; new Insert().PageMacro(oPageMacro, m_oTestProject, arrOverwrite, PageMacro.Enums.NumerationMode.None);
Name | Description | |
---|---|---|
Insert Constructor | Default constructor |
Name | Description | |
---|---|---|
ArePCTLoopsRenumbered | If true, renumbers PCT loop if name already exists. | |
ArePlanningObjectsInserted | Indicates whether additional planning objects are inserted from macro into project. | |
ArePlanningObjectsStructureMerged | Indicates whether planning objects structure will be merged with existing nodes or renumbered and added. | |
PlanningSegment | Determines the planning segment to which all function inserted from window macro on page will be assign. |
Name | Description | |
---|---|---|
Dispose | Destructor | |
PageMacro | Overloaded. Inserts a page macro into project. User can specify which pages can be overwritten over existing pages in project. | |
PrePlanningMacro | Inserts the pre-planning macros below the given structure segment. | |
SymbolMacro | Overloaded. Places a symbol macro onto a given position of a page. You can set whether absolute coordinates or coordinates relative to its original position on the page should be used. | |
WindowMacro | Overloaded. Places a window macro onto a given position of a page. You can set whether absolute coordinates or coordinates relative to its original position on the page should be used. |