Click or drag to resize

SceneGetOrCreateAlignPlane Method

返回用户文档首页
获取或创建零件的对齐面(对目标零件执行面对齐,只对直梁、折形梁零件有效)

Namespace: LoongCAD.STC
Assembly: LoongSDKSTC (in LoongSDKSTC.dll) Version: 2025.0.9.7 (2025.0.9.7)
Syntax
C#
public CutPlane GetOrCreateAlignPlane(
	long id,
	PartBase cuttee,
	Plane pl,
	double width,
	double height
)

Parameters

id  Int64
获取对象id
cuttee  PartBase
被对齐的零件
pl  Plane
对齐面
width  Double
对齐面的显示宽度
height  Double
对齐面的显示高度

Return Value

CutPlane
对齐面对象
Remarks
对齐面的显示宽度、高度只作为显示范围,不影响对齐功能
See Also