Example script for Apply Style to other HW windows

User: "Sebastian_Karp"
Altair Employee
Updated by Sebastian_Karp

Overview

Example script to apply styles like Contours, Measures, Orientations etc. to other windows of the same HyperWorks session.

Pre-Requisite

Style to apply to a different window needs to be active in current window (as this script is designed).

 

Info:

There are 2 ApplyStyleTo commands, depending on which attribute you want to apply. See Online help.
"destination" must be a model/post handle.

poIModel ApplyStyleTo  
    and 
poIPost ApplyStyleTo


Other API directly usable without handles is:
::post::applystyle::ApplyStyle "all" 1 resultsteps

 

Needed parameters can need to be edited / changed in TCL.

image,

 

image

Usage/Installation Instructions

Open attached example session and execute script by e.g. DropDown  File > Load > Script   

Find more posts tagged with

Comments

No comments on this post.

Share projects with the Community

Share your models, scripts, workspaces, and more with the Altair Community.
New Exchange Project