hexagon logo

How to get a midplane?

Hello,
what's the best command to get a midplane (plane between two planes)?
I've tried with the SymmetryPlane and also the SYMPLA commands but with no luck. It does return a element with values!

Thanks in advance for the help!
Parents
  • Hi ,

    first a correction - "It does not return a element with values"

    View images.


    Here is the code:
    ----------------------------------------------------------------------------------------------------------------------------------------
    ~NOM_ELE=PLAN_A_SYM
    CRSUBTYP (NAM=~NOM_ELE, LIN=3, DEL=Y, TYP=ELE, STY=EVA)
    PUTVALS (OBJ=~NOM_ELE.EVA(1), TYP=ELE, CDS=(S,Z), STR=(FORM,SD))
    PUTVALS (OBJ=~NOM_ELE.EVA(2), TYP=ELE, CDS=(S,Z), STR=(PTS,SD))
    PUTVALS (OBJ=~NOM_ELE.EVA(3), TYP=ELE, CDS=(S,Z), STR=(Z,SD))
    SymmetryPlane (RES=~NOM_ELE, PL1=PLAN_A_ZP, PL2=PLAN_A_ZM, CSY=REF_A, USD=Y)
    ---------------------------------------------------------------------------------------------------------------------------------------

    Attached Files
Reply
  • Hi ,

    first a correction - "It does not return a element with values"

    View images.


    Here is the code:
    ----------------------------------------------------------------------------------------------------------------------------------------
    ~NOM_ELE=PLAN_A_SYM
    CRSUBTYP (NAM=~NOM_ELE, LIN=3, DEL=Y, TYP=ELE, STY=EVA)
    PUTVALS (OBJ=~NOM_ELE.EVA(1), TYP=ELE, CDS=(S,Z), STR=(FORM,SD))
    PUTVALS (OBJ=~NOM_ELE.EVA(2), TYP=ELE, CDS=(S,Z), STR=(PTS,SD))
    PUTVALS (OBJ=~NOM_ELE.EVA(3), TYP=ELE, CDS=(S,Z), STR=(Z,SD))
    SymmetryPlane (RES=~NOM_ELE, PL1=PLAN_A_ZP, PL2=PLAN_A_ZM, CSY=REF_A, USD=Y)
    ---------------------------------------------------------------------------------------------------------------------------------------

    Attached Files
Children
No Data