Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Control density with relation

  • Thread starter Thread starter Siron
  • Start date Start date
S

Siron

Guest
Is there a way to control the density with a relation? What I want to do is to be able to set up a start part with a parameter of "MATERIAL" and have a relation take that and apply a specific density.

For example.

IF MATERIAL == (STEEL)
DENSITY = .283
END IF
 
A better way would be to setup materials in the start part (Edit -> Setup -> Material) - that way you have (in Wildfire 3.0 & later) PTC_MATERIAL_NAME and the density is set correctly.


In Wildfire 2.0 & earlier, the CONDITION parameter is a text field, and you can create a relation


MATERIAL_NAME=material_param("CONDITION")


where MATERIAL_NAME is a String parameter
 
We use material files in our WF2 and the density is contained in each materail file.
 
Replace DENSITY in your relation with MP_DENSITY.
IF MATERIAL == (STEEL)
MP_DENSITY = .283
END IF
 

Part and Inventory Search

Sponsor

Back
Top