|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > CADSystem > GetActiveDocConfigurationInfos |
Gets the name of the configuration of the currently opened model.
Returns also if this configuration can be managed by DBWorks, depending from the state of the filters in the Configurations parameters.
call DBWShell("GetActiveDocConfigurationInfos")
@CONFIGURATION_NAME |
name of the configuration |
|---|---|
@OK_MANAGE_CONFIGURATION |
0: no manage |
This command is available for Solidworks integration only
Sub Main()
DBWInit(TRUE)
call DBWShell("GetActiveDocConfigurationInfos")
active_conf = DBWResult("@CONFIGURATION_NAME")
you_can_manage = DBWResult("@OK_MANAGE_CONFIGURATION")
end sub