🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

User interface for Macros in FLUX

User: "Frank_Mau_1"
Altair Community Member
Updated by Frank_Mau_1

Hi!

How can I generate a tab in my macro user interface?

Example:

image

I have found this window type in the Overlay tutorial but I cannot find any hint in the python code.

In the Macro example is the code for a single window without tab element:

e.g.:

...

"""

@param NPPoles R08 1 1 2 Number of pole pairs
@param NPPolesRep R08 1 1 0.5 Number of pole pairs represented in geometry (0.5 is only one pole represented)
@param StatorPeriodicity R08 1 1 2 Number of stator periodicities (different for NPPoles in fractional winding machines)
@param CurrentSupply CurrentSource 1 ? 1 Select the current sources corresponding to the stator supply (first is asssumed to be phase of reference)
@param Rotor MechanicalSetRotation1Axis 1 1 1 Rotor mechanical set
@param Stator MechanicalSetFixed 1 1 1 Stator mechanical set
"""

def Find_Rotor_Angle_2D(NPPoles, NPPolesRep, StatorPeriodicity, CurrentSupply,Rotor,Stator):

...

Thank you very much.

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "asoualmi"
    Altair Employee
    Accepted Answer
    Updated by asoualmi

    Hi,

    Unfortunately it is not possible to make a tab in the case of macros. it is a limitation.


    Thank you.

    User: "Frank_Mau_1"
    Altair Community Member
    OP
    Updated by Frank_Mau_1

    What a pity.

     

    Thank you very much for your fast reply.