🎉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

Need to get API to check if the opened software is HM or HV?

User: "Jouher_20819"
Altair Community Member
Updated by Jouher_20819

I used to change continuously between HM and HV within hyperworks. Some operations are meant to be run in HV whereas others in HM. So, i need the api to check which software is open to handle the errors accordingly

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Adriano_Koga"
    Altair Employee
    Updated by Adriano_Koga

    hi,  you could check the client type, under the window handle.

    If the window is set to FePre, it is HM. If it is set to Animation, it is HV.

    hwIWindow GetClientType

    Returns the window client type.

    Syntax

    hwIWindow_handle GetClientType

     

    The client type. Choices include: FePreModelAnimationPlotPlot3DTextEditor, and Video.