News: Need training? HyperSizer Training Videos are available now! Learn more here: https://hypersizer.com/trainingevents/e-learning/

Author Topic: help setting up groups  (Read 18241 times)

dmunk

  • Client
  • **
  • Posts: 5
    •  
help setting up groups
« on: September 05, 2013, 12:51:14 AM »
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

  • Administrator
  • *****
  • Posts: 145
    •  
Re: help setting up groups
« Reply #1 on: September 06, 2013, 06:18:13 AM »
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