iCAx开思工具箱

标题: 请教大家代码如何获取图形特征属性里的厚度,有截图,谢谢大家 [打印本页]

作者: www_    时间: 2012-9-10 11:34
标题: 请教大家代码如何获取图形特征属性里的厚度,有截图,谢谢大家
如图所示,如何获取thickness数值 ,谢谢大家
(, 下载次数: 0)


作者: linlily0925    时间: 2012-9-10 13:04
CATIStructurePlate接口下的GetThickness 方法

o GetThickness
public virtual HRESULT GetThickness( double&  oThickness)=0  

Get thickness of the plate. (in MKS)
Parameters:
oThickness
Thickness of the plate.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed

作者: www_    时间: 2012-9-10 15:00
linlily0925 发表于 2012-9-10 13:04
CATIStructurePlate接口下的GetThickness 方法

o GetThickness

谢谢你,我这现在用的是autoapi也就是VB开发,不知道有没有对应的这个接口
麻烦你了
再次谢谢你

作者: linlily0925    时间: 2012-9-11 08:46
dim [size=+0]plate as Str[size=+0]Plate
[size=+0]plate.StandardThickness

.................................

百科全书里面的解释:
o Property StandardThickness( [td]) As double
Returns the standard thickness following the support orientation.



作者: linlily0925    时间: 2012-9-11 08:47
dim  plate as  StrPlates
plate.StandardThickness


作者: www_    时间: 2012-9-19 14:59
linlily0925 发表于 2012-9-11 08:47
dim  plate as  StrPlates
plate.StandardThickness

有这个属性,谢谢你了 祝你工作顺利!




欢迎光临 iCAx开思工具箱 (https://t.icax.org/) Powered by Discuz! X3.3