IiLogicAutomation Interface |
Namespace: Autodesk.iLogic.Interfaces
The IiLogicAutomation type exposes the following members.
Name | Description | |
---|---|---|
CallingFromOutside |
Set this to True if you are calling from out-of-process.
| |
FileOptions |
Gets an object from which the iLogic file and directory-related options can be examined or modified.
| |
InDelayedRuleRunningMode |
Indicates that iLogic is in delayed rule-running mode.
| |
InternalVersionMajor |
Gets the major version number of the iLogic addin.
| |
InternalVersionMinor |
Gets the minor version number of the iLogic addin.
| |
InventorParamMultiValues |
Gets or sets the multivalue list of an Inventor parameter, specifying an Inventor.Parameter object directly.
| |
LogControl |
Gets an object that provides control over the iLogic log (i.e. the rule logger).
| |
ParamMultiValues |
Gets or sets the multivalue list of an Inventor parameter, as an array of strings.
| |
Params |
Gets a list of the Text and True/False parameters in the document.
| |
ParamValue |
Gets the value of an Inventor parameter.
| |
ParamValueDirect |
Gets the value of a Text or True/False parameter.
| |
ParamValueInComponent |
Gets the value of an Inventor parameter in a component or referenced document.
| |
RuleExceptionsLog |
Gets an object which may contain a log of rule exceptions.
In a desktop Inventor session, this will usually be empty. Exception messages will be shown interactively and not logged.
| |
Rules |
Gets a list of the rules in a document.
| |
RulesEnabled |
Gets or sets a value that indicates whether or not rules will run automatically on parameter changes or other events.
Set this to False to disable rules from running in response to parameter changes or other events.
Set this to True to re-enable rule running. This will also clear any rule errors that may have disabled rules from running.
| |
RulesOnEventsEnabled |
Gets or sets a value that indicates whether rules-on-events (event triggers) are enabled or not.
Set this to False if there may be rules that run on document Open or Close (or other events), and
you know you don't want them to run when calling from automation.
| |
SilentOperation |
This is an iLogic-specific SilentOperation flag. Normally when rules are run (in full Inventor or Inventor OEM),
if any exceptions occur they will be shown in message dialogs.
Set this to True if you don't want error messages to be displayed.
(This property will always be True in Inventor Server.)
|
Name | Description | |
---|---|---|
AddRule |
Adds a rule to an Inventor document. Also compiles and runs it.
| |
DeleteAlliLogicObjects |
Deletes all rules in a document.
| |
DeleteAllRules |
Deletes all rules in a document. In an assembly, this will also recursively delete all rules in all the referenced documents.
| |
DeleteAllRulesInDocument |
Deletes all rules in the specified document only.
| |
DeleteRule |
Deletes a rule in an Inventor document.
| |
EnterDelayedRuleRunningMode |
Puts iLogic into a delayed rule-running mode.
In this mode, rules that are triggered by parameter changes and other events
will not be run until you call ExitDelayedRuleRunningMode.
| |
ExitDelayedRuleRunningMode |
Exit delayed rule-running mode. Run all rules that were triggered by parameter changes or other events
while in delayed rule-running mode (unless the parameter RunRules is False).
Rules within each document will be run in the order in which they are found in the document.
| |
GetNamedEntities |
Gets the named entities in a document.
| |
GetParam |
Gets an iLogic parameter (implementing the iLogicParameter interface) by name.
| |
GetRule |
Gets a rule in a document.
| |
MultiValueSetValueOptions |
Controls what the behavior of iLogic will be when you assign a multivalue list to a parameter.
| |
ParametersXmlLoad |
Imports Inventor parameters from an XML file to a document.
| |
ParametersXmlSave |
Exports Inventor parameters from a document to an XML file.
| |
RunExternalRule |
Runs an external rule.
| |
RunExternalRuleWithArguments |
Runs an external rule, also passing arguments to the rule.
| |
RunRule |
Runs a rule in a document.
| |
RunRuleDirect |
Runs a rule, by specifying the rule object.
| |
RunRuleDirectWithArguments |
Runs a rule, by specifying the rule object, also passing arguments to the rule.
| |
RunRuleWithArguments |
Runs a rule, also passing arguments to the rule.
|