面坐标创建命令CreateFaceCS的使用
本帖最后由 yheast 于 2010-12-31 14:22 编辑我要用命令给磁钢创建坐标系,但总成功不了,得到的总是和全局坐标重合,有高手帮看看什么原因,我是用x,y,z坐标来确定坐标原点和x轴方向的,我试过用顶点可以
oEditor.CreateFaceCSArray("NAME:FaceCSParameters", _
"FaceID:=", CInt(oFaceID), "PartID:=", CInt(oPartID),_
Array("NAME:OriginPosn",_
"IsAttachedToEntity:=", false, _
"EntityID:=", 2163, _
"PositionType:=","OnVertex", _
"UParam:=", 0,_
"VParam:=", 0, _
"XPosition:=", 32&"mm", _
"YPosition:=", 6&"mm", _
"ZPosition:=","0"), _
Array("NAME:AxisPosn", _
"IsAttachedToEntity:=", false, _
"EntityID:=", 2167, _
"PositionType:=", "OnVertex", _
"UParam:=", 0, _
"VParam:=", 0, _
"XPosition:=", 33&"mm",_
"YPosition:=", 6&"mm", _
"ZPosition:=","0"), _
"WhichAxis:=", "X"), _
Array("NAME:Attributes", _
"Name:=", "FaceCS1") 自己顶一下,没人知道吗 楼主,这个问题你现在会了吗?我现在刚学这个。也遇到这个问题,想请教一下怎么设置面坐标的问题
页:
[1]