Eplan Platform API
Eplan.EplApi.DataModel.MasterData Namespace / WindowMacro Class

In This Topic
    WindowMacro Class Methods
    In This Topic

    For a list of all members of this type, see WindowMacro members.

    Public Methods
     NameDescription
    Public MethodCalculates the reference point of the macro Used to calculate reference point if reference point has not been defined by the user, when creating a macro. When reference point has been defined for then given macro, then output parameter is equal to ReferencePoint property.  
    Public MethodCalculates the reference point of the macro Used to calculate reference point if reference point has not been defined by the user, when creating a macro. When reference point has been defined for then given macro, then output parameter is equal to ReferencePoint property.  
    Public MethodChange current representation type and variant of macro This function is more efficient as changing the Properties RepresentationType and Variant separately besides, this function throws an exception, if the variant does not exist  
    Public MethodOverloaded. Writes a window macro file from the pPlacements If at least one given Placement object is valid, created macro is opened.  
    Public MethodDestructor for deterministic finalization of WindowMacro object. (Inherited from Eplan.EplApi.DataModel.MasterData.Macro)
    Public MethodOverloaded. checks, if the variant exists inside the window macro  
    Public MethodReturns the bounding box of the macro. This is the size and position of the macrobox.  
    Public MethodReturns the least bounding box containing all 3d elements of macro in current variant.  
    Public MethodMacro variants by representation type "nRepresentationType".  
    Public Method  
    Public Methodstatic (Shared in Visual Basic)Converts macro representation type to a displayed name.  
    Public MethodOverloaded. Opens a macro file and reads the information.  
    Public MethodOverloaded. Resets positions of items of a 3d macro according to one of its objects.  
    Public MethodGet name of the source from current representation type  
    Public MethodGet name of the source project from current representation type  
    Public MethodCopies external files into project images directory (Inherited from Eplan.EplApi.DataModel.MasterData.Macro)
    Public MethodGet version from current representation type  
    Top
    See Also