Click or drag to resize

WriteBackForModel(String, String, String, String, String, Boolean, String, Byte) Method

Create Writeback for Model field of a virtual component

Namespace: CTExtensions.ExportCore.ExportHandler
Assembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntax
public static WriteBack ForModel(
	string binaryTarget,
	string virtualComponentPath,
	string configuration,
	string attribute,
	string value,
	bool bPreferDocPropTarget,
	string ext = null,
	byte[] extId = null
)

Parameters

binaryTarget  String
Full path to target .SLDASM/.SLDPRT file, from which the actual virtual component can be obtained via virtualComponentPath.
virtualComponentPath  String
Virtual path from the binaryTarget to the actual component; e.g. "Virtual^Asm1.sldasm\Virtual^Asm2.sldasm\Virtual^Prt1.sldprt"
configuration  String
Target configuration
attribute  String
Name of the target attribute
value  String
Value to set
bPreferDocPropTarget  Boolean
Original value has been empty, so prefer writeback to document properties IF configuration specific attribute doesn't exist.
ext  String  (Optional)
Extension that "owns" the binaryTarget; null if no ownership.
extId  Byte  (Optional)
ext given ID for the binaryTarget; null if no ownership.

Return Value

WriteBack
Properly initialized WriteBack object.
See Also