Click or drag to resize

OperationCreateNCFilesByPartId(String, Int64, NCExportSettings) Method

返回用户文档首页

Note: This API is now obsolete.

导出指定零件的NC文件

Namespace: LoongCAD.STC.Friendly.Scene.Operations
Assembly: LoongCAD.STC.Friendly (in LoongCAD.STC.Friendly.dll) Version: 2026.0.9.24 (2026.0.9.24)
Syntax
C#
[ObsoleteAttribute("此方法已弃用,请用带有配置名称参数的同名函数代替", true)]
public static bool CreateNCFilesByPartId(
	string dstFolder,
	long partId,
	NCExportSettings exportSettings
)

Parameters

dstFolder  String
导出文件的目录(包括文件名)
partId  Int64
导出零件的Id
exportSettings  NCExportSettings
导出选项

Return Value

Boolean
导出是否成功
Exceptions
ExceptionCondition
ArgumentNullException
See Also