 | WriteBackForCutListItem Method (String, String, String, String, String, String, String, Byte) |
Create Writeback for Cut-List field of a virtual component
Namespace:
CTExtensions.ExportCore.ExportHandler
Assembly:
CTInterface (in CTInterface.dll)
Syntaxpublic static WriteBack ForCutListItem(
string binaryTarget,
string virtualComponentPath,
string configuration,
string cutListFeatureName,
string attribute,
string value,
string ext = null,
byte[] extId = null
)
Public Shared Function ForCutListItem (
binaryTarget As String,
virtualComponentPath As String,
configuration As String,
cutListFeatureName As String,
attribute As String,
value As String,
Optional ext As String = Nothing,
Optional extId As Byte() = Nothing
) As WriteBack
Parameters
- binaryTarget
- Type: SystemString
Full path to target .SLDASM/.SLDPRT file, from which the actual virtual component can be obtained via virtualComponentPath. - virtualComponentPath
- Type: SystemString
Virtual path from the binaryTarget to the actual component; e.g. "Virtual^Asm1.sldasm\Virtual^Asm2.sldasm\Virtual^Prt1.sldprt" - configuration
- Type: SystemString
Target configuration of the virtualComponentPath - cutListFeatureName
- Type: SystemString
Name of the Cut-list Feature of the target virtualComponentPath in configuration configuration. - attribute
- Type: SystemString
Name of the target attribute - value
- Type: SystemString
Value to set - ext (Optional)
- Type: SystemString
Extension that "owns" the binaryTarget; null if no ownership. - extId (Optional)
- Type: SystemByte
ext given ID for the binaryTarget; null if no ownership.
Return Value
Type:
WriteBackProperly initialized
WriteBack object.
See Also