ConfigurationActive

From Compost Wiki
Revision as of 21:23, 8 June 2021 by Dannym (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ConfigurationActive?('ConfigurationGroupName', 'ConfigurationName')

Description

This command returns true if the specified (ConfigurationGroupName, ConfigurationName) pair is currently active at the time of Processing, as defined in the Document Control Dialog (DCD).


Code Sample

In the sample image below, taken from Machine Manager, if the post developer needs to know if the 'LiveTools' Configuration is active so they might format the output differently, then they could use:

 IF ConfigurationActive?('FrontGang', 'LiveTools')
 


Stats

ID 709
Type Boolean
Class All Machines
Scope Global
Min Version 22.0.5