Software Use > Scripting
help setting up groups
(1/1)
dmunk:
Hi,
I'm trying to use the group.VariableMaterial, to apply materials, the group.VariableBounds to apply bounds, and the group.ComponentMembership to apply components to groups in HyperSizer via MATLAB. My problem is I can't find the necessary inputs
I would really appreciate it if someone could show me how to use these functions.
Cheers
Ryan:
VariableBound
http://hypersizer.com/help/#COM/Members/com-group-variable_bound.php
ComponentMembership
http://hypersizer.com/help/#COM/Members/com-group-component_membership.php
I cannot seem to pass the arrays properly in MATLAB when setting this property. An alternative method is Group.GroupMembership(). Here you pass in the component IDs with a string.
componentRange = '1:3,6,8' % range = [1,2,3,6,8]
group.GroupMembership(componentRange)
VariableMaterial
http://hypersizer.com/help/#COM/Members/com-group-variable_material.php
This has the same problem with ComponentMembership. The only alternative appears to be using GroupDesigns.
http://hypersizer.com/forum/index.php/topic,456.0.html
Navigation
[0] Message Index
Go to full version