*loadstepsupdateattributesfromidlist

Updates Nastran/OptiStruct load collector attributes for a selected loadstep from ‘ID’ list.

Syntax

*loadstepsupdateattributesfromidlist name mark

Type

HyperMesh Tcl Modify

Description

Updates Nastran/OptiStruct load collector attributes for a selected loadstep from ‘ID’ list.

Inputs

name
Name of the load step to be updated.
mark
The mark containing the list on which to base the update.

Example

The following Tcl script explains the useage of this command:

## Check if $LOADCALL attribute exists on the loadstep .
## if no  then update loadcol attributes for nastran and OS interface in HM 
	if {[hm_defined loadsteps $loadstep_name \$LOADCALL -byname] == 0} {set lc_ids [hm_getvalue loadsteps name=$loadstep_name dataname=ids]
	eval *createmark loadcols 1 $lc_ids
	*loadstepsupdateattributesfromidlist $ loadstep_name 1 
    }

This command is useful only for Nastran/OptiStruct interface, and should only be used if LOADCALL attribute is absent in the selected loadstep.

Errors

None.