🎉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

Hyperview 2023.1 api to set the display transparency level.

User: "Ajay Prabhakaran"
Altair Community Member

Hello,

Can you please share me the Hyperview api to set the "display transparency level" to a particular value.

We used to do it manually by 

File -> Preferences -> Graphics -> Display -> Transparency level

image.png

Find more posts tagged with

Sort by:
1 - 4 of 41
    User: "GTT Adam"
    Altair Employee

    Hi @Ajay Prabhakaran,

    You can modify the transparency level in the TCL Command Window using the *transparencyvalue command:

    https://help.altair.com/hwdesktop/hwd/topics/reference/hm/_transparencyvalue.htm

    ex.

    image.png image.png

    Hope this helps!

    Adam Reid

    User: "Ajay Prabhakaran"
    Altair Community Member
    OP

    Hello @GTT Adam

    This command will work only on Hypermesh. I am looking out for a command to work in Hyperview.

    Thanks for your support

    User: "GTT Adam"
    Altair Employee

    Hi @Ajay Prabhakaran,

    Since this is a general graphics option, this can be set using the command in a HyperMesh instance and it will be applied in subsequent HyperView instances.

    Can you provide context as to why the transparency level needs to be set dynamically?

    Hope this helps!

    Adam Reid

    User: "Ajay Prabhakaran"
    Altair Community Member
    OP

    Hi @GTT Adam

    I am writing a code to save ISO image of an odb. I see a trend that, Simulation engineer sometimes set the transparency to 0 or 1. In such cases the ISO view is not plotted correctly or the contours are not visually clear. So, if i have an option to set the transparency to 7,5 before the script execution, i will be on a safer side to plot nice contours. I hope you understand my concern.

    Thank you so much for your support.