Class CNC_Configuration
CNC configuration information
Inheritance
Inherited Members
Namespace: DesignData.SDS2.Detail
Assembly: DesignData.SDS2.Detail.dll
Syntax
public sealed class CNC_Configuration
Constructors
CNC_Configuration()
Declaration
public CNC_Configuration()
Properties
Name
Return the name of CNC_Configuration.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
DownloadMaterials(StringList, String)
Generate CNC files for the specified submaterial marks and save them to the specified destination path.
Declaration
public void DownloadMaterials(StringList material_marks, string destination_path)
Parameters
Type | Name | Description |
---|---|---|
StringList | material_marks | |
System.String | destination_path |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown the configuration is not active. |
InvalidOperationException | InvalidOperationException will be thrown if CNC is unlicensed or not permitted in the station. |
DownloadMembers(StringList, String)
Generate CNC files for the specified member marks and save them to the specified destination path.
Declaration
public void DownloadMembers(StringList member_marks, string destination_path)
Parameters
Type | Name | Description |
---|---|---|
StringList | member_marks | |
System.String | destination_path |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown the configuration is not active. |
InvalidOperationException | InvalidOperationException will be thrown if CNC is unlicensed or not permitted in the station. |
Finalize()
Declaration
protected void Finalize()
Find(String)
Return the configuration with the specified name.
Declaration
public static CNC_Configuration Find(string configuration)
Parameters
Type | Name | Description |
---|---|---|
System.String | configuration |
Returns
Type | Description |
---|---|
CNC_Configuration |
Exceptions
Type | Condition |
---|---|
InvalidValueException | InvalidValueException will be thrown if the name does not match any configuration. |
GetConfigurations()
Return all the configurations defined in the job.
Declaration
public static CNC_ConfigurationList GetConfigurations()
Returns
Type | Description |
---|---|
CNC_ConfigurationList |