Synopsis
When adopting an assembly that contains iLogic rules, you can choose to adopt the assembly as an iLogic assembly. Once adopted, the design can be instanced in an Intent Model.
IviLogicAssemblyDocument is an extension of the IvAssemblyDocument with the possibility to control the behavior of assembly through the set of exposed Inventor parameters. (iLogic code
can be used to propagate their values below the hierarchy). Unlike IvAssemblyDocument, the IviLogicAssemblyDocument is intended to work on the single copy (or factory). If the same IAM is used as two or more occurrences of the Intent assembly, several restrictions, or side effects are imposed.
The easiest way to create a
design derived from IviLogicAssemblyDocument is through assembly adoption with the option Adopt as iLogic Assembly selected.
In such cases, the Adopt fills the necessary Rules for only the selected assembly. It does not create the Designs for the subassemblies and parts below the IAM.
Similar to the adopted IPT files, the Parameter
Rule
%%ParamList is used to make a link between Inventor and Intent parameters.
You can also consider IviLogicAssembly for skeleton-based modeling purposes. In this case, the control is done through the change of the Parameters of the skeleton part file (IPT).
Parameters
- AssemblyFileDirectory (
String
)
- Containing folder. Required parameter.
- AssemblyFileName (
String
)
- File name of the IAM. Required parameter.
- ExpandHierarchy? (
Boolean
)
- Default
False
. By default, the occurrence hierarchy is not expanded. If set to
True
, the Intent children of %%IvAttachedOccurrence
Design
are created below assembly (one child per component occurrence).
- SkeletonFileName(
String
)
- File name (relative to AssemblyFileDirectory, or absolute name) of the skeleton part file.
- %%ParamList (
List
)
- Default {}.
List
of lists for matching Inventor and Intent Parameters. Sublists contain the Inventor
Parameter
name
string
and the Intent model
Rule
.
The rest of Parameters are the same as in IvAssemblyDocument:
Some of the Parameters are converted into
Rules
:
SharingBehavior (Name) = :Standard
SharingScope (Name) = :Project
templateFile (Name) =
AssemblyFileNamePrefix (String) = ""
AutoSaveChanges? (Boolean) = false