Challenge

Week - 8 - Creating component and property

Objective:

Create a component and property collector. Assign the property to create component.

Rename the component and property with the same name of component and thickness assigned.

The code should regonize which kind of deck is used and so the required card image should be assigned.

Procedure:

Intially "*createentity" is used to create component and property

Using hm_getmark command, mark id is set to the components and property.

*setvalue command to assign the id to components and thickness to property. Also assigning property to the component is executed using *setvalue command.

At first to get the argument values for component name thickness is got from the user, using the hm_getstring value. These string values are set to another variables and using puts command is used to execute the creation of collectors.

hm_getsolver command is used to know which kind of solver is used so that if statement is implemented to execute only those commands used to create the collectors.

Result:

The window gets the input argument for component name and thickness value.

OPTISTRUCT

For optistruct it changes the card value itself into PSHELL as the command gets the solver id initially.

It creates the name of entities using both component name and thickness which is assigned in property.

Both property and component has same name.

RADIOSS

The card image changes and gets the thickness automatically.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.