几何尺寸与公差论坛

 找回密码
 注册
查看: 922|回复: 0

【转帖】using material physical properties in equations

[复制链接]
发表于 2009-4-13 15:10:37 | 显示全部楼层 |阅读模式
using material physical properties in equations
i am trying to find a way to reference the yield and tensile strength of the material in equations.  in the "api help", i can only find material visual properties and cannot find physical properties.
density is the only physical property that can be obtained directly from the model.  to obtain the yield strength and tensile strength you would have to get the name of the material and then get the physical properties out of the xml .sldmat file.  see the api helpl for partdoc::getmaterialpropertyname2.  i would seriously doubt that this is possible in an equation.  are you talking about a solidworks equation, or using a vba macro or external .exe program to perform calculations based on physical properties?
-handleman, cswp (the new, easy test)
unfortunately, it is for a solidworks equation.  we generally use equations to create global variables that we then use in the custom properties of a part or an assembly.  then we link to these custom properties in the drawing with annotations.
for the physical properties, the need was to clearly indicate on the drawing the tensile and yield strength of the material in psi and mpa, thus eliminating the need to insert a block which contains this information for the appropriate material.
the other possibility is to reference a block in the drawing simply by choosing the material in the part.  would this be possible??
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-22 17:39 , Processed in 0.036022 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表