🎉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

Script creation walkthrough (element sets by sphere)

User: "Ben Buchanan"
Altair Employee
Updated by Ben Buchanan

The following video goes through the creation of a simple script in HyperWorks that does the following:

  1. Prompts the user for nodes, radius and set name prefix
  2. For each node the user selects the script selects elements by a sphere centered at the selected node with the given radius
  3. Creates sets for each element selection adding the prefix to the set name

The script uses commands to get input from the user such as hm_getfloat, *createmarkpanel and hm_getstring.  It also uses frequently used commands such as hm_getvalue, hm_getincrementalname and *createentity.

The final script can be found attached to this blog.

Any questions about the video? Any other videos you would like to see on scripting or customization?



Find more posts tagged with

Comments

No comments on this post.