Share

ILowLevelSupport Interface

Provides properties and functions for access to the Inventor API, running other rules, and miscellaneous functions.

In a rule, this interface is implemented by two predefined object identifiers: iLogicVb and InventorVb. Each of those is a reference to the same object.


Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 30.0

Syntax

VB

Public Interface ILowLevelSupport

C#

public interface ILowLevelSupport

The ILowLevelSupport type exposes the following members.

Properties

  NameDescription
Public propertyApplication
Gets the Inventor Application object.
Public propertyAutomation
Gets the Automation object. This provides the iLogic API functions.
Public propertyInventorServer
Gets the Inventor Server object. This provides a subset of the functionality of the Application object. On web service or other Inventor Server deployments, the Application object is not available. This object must be used instead.
Public propertyMemberEditScope
For model state documents, sets the member edit scope for all changes made by iLogic rule code. This can be overridden by setting the MemberEditScope on specific objects (Parameter, Component, iProperties, etc.).
Possible values are:
kEditActiveMember : apply changes to the active member only
kEditAllMembers : apply changes to all members within the factory
Public propertyRuleDocument
Gets the document from which this rule is being run. If the rule is stored within a document, this will be that document.
Public propertyRuleFullFileName
Gets the full file name (including directory) of the current rule, if it is an external rule. For a rule that is stored within a Inventor document, this returns an empty string.
Public propertyRuleName
Gets the name of the current rule.
Public propertyUpdateWhenDone
Gets or sets a property of the rule. If this is True, when the rule finishes it will perform an Update on the document in which it is running.

Methods

  NameDescription
Public methodCreateObjectProvider
Creates a factory that can be used to access standard objects in another document. These objects provide the functionality of the standard predefined iLogic objects in rules.
Public methodDocumentUpdate()
Updates the document that the rule is running in.
Public methodDocumentUpdate(Boolean)
Updates the document that the rule is running in.
Public methodRunExternalRule(String)
Runs an external rule.
Public methodRunExternalRule(String, NameValueMap)
Runs an external rule with the specified arguments.
Public methodRunMacro
Runs a VBA macro.
Public methodRunRule(String)
Runs a rule in the current document.
Public methodRunRule(Object, String)
Runs a rule in another component or document.
Public methodRunRule(String, NameValueMap)
Runs a rule with the specified arguments.
Public methodRunRule(Object, String, NameValueMap)
Runs a rule with the specified arguments in another component or document.
Public methodSetViewCamera
Sets the direction, orientation, and scale of the camera in the current view.

See Also

Reference

Was this information helpful?