 | WriteBackForModel(String, String, String, String, Boolean, String, Byte) Method |
Create Writeback for Model field
Namespace: CTExtensions.ExportCore.ExportHandlerAssembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntaxpublic static WriteBack ForModel(
string file,
string configuration,
string attribute,
string value,
bool bPreferDocPropTarget,
string ext = null,
byte[] extId = null
)
Public Shared Function ForModel (
file As String,
configuration As String,
attribute As String,
value As String,
bPreferDocPropTarget As Boolean,
Optional ext As String = Nothing,
Optional extId As Byte() = Nothing
) As WriteBack
Parameters
- file String
- Full path to target .SLDASM/.SLDPRT file.
- 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 file; null if no ownership.
- extId Byte (Optional)
- ext given ID for the file; null if no ownership.
Return Value
WriteBackProperly initialized
WriteBack object.
See Also