Click or drag to resize

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

Create Writeback for Model field

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

Parameters

file
Type: SystemString
Full path to target .SLDASM/.SLDPRT file.
configuration
Type: SystemString
Target configuration
attribute
Type: SystemString
Name of the target attribute
value
Type: SystemString
Value to set
bPreferDocPropTarget
Type: SystemBoolean
Original value has been empty, so prefer writeback to document properties IF configuration specific attribute doesn't exist.
ext (Optional)
Type: SystemString
Extension that "owns" the file; null if no ownership.
extId (Optional)
Type: SystemByte
ext given ID for the file; null if no ownership.

Return Value

Type: WriteBack
Properly initialized WriteBack object.
See Also