InvRectangularOccurrencePattern design allows the user to send information to Inventor that will produce a rectangular pattern.
Parameter Rules
invColumnCount: | Integer value of columns in the pattern. |
Example: | 4; |
invColumnEntityNaturalDirection: | Default is set to false, setting value to true will change the direction of the column. |
Example: | false; |
invColumnNamedFeature: | In Inventor the MyBlock design had 2 edges named. Use the top one for this value. |
Example: | "Edge0"; |
Note: | This Edge must be created in Inventor for the Block and named. |
invColumnOffset: | Enter the amount of offset desired for the Column. |
Example: | 4; |
invColumnPart: | This is the part that you want to reference the column from. This is the same name as the invName of the MyBlock.(See more information in the example below) |
Example: | 'world_rectangular_occurrence_pattern_test_assemblyparts_MyBlock'; |
invComponents: | This is the same name as the invName of the MyCylinder, the part that you want to use in the pattern.(See more information in the example below). |
Example: | 'world_rectangular_occurrence_pattern_test_assemblyparts_MyCylinder'; |
invName: | This is the name that you want to give to your pattern |
Example: | 'RectangularPattern1'; |
invRowCount: | Integer value of rows. |
Example: | 4; |
invRowEntityNaturalDirection: | Default is set to false, setting value to true will change the direction of the row. |
Example: | false; |
invRowNamedFeature: | In Inventor the MyBlock design had 2 edges named. Use the right side one for this value. |
Example: | "Edge0"; |
Note: | This Edge must be created in Inventor for the Block and named. |
invRowOffset: | Enter the amount of offset desired for the Row. |
Example: | 4; |
invRowPart: | This is the part that you want to reference the row from. This is the same name as the invName of the MyBlock.(See more information in the example below) |
Example: | 'world_rectangular_occurrence_pattern_test_assemblyparts_MyBlock'; |
Mixins
InvOccurrencePattern
RULE NAME |
TYPE |
DEFAULTS |
CATEGORY |
FLAGS |
---|---|---|---|---|
invColumnCount |
integer |
1 |
Inventor |
Cached |
invColumnEntityNaturalDirection |
boolean |
false |
Inventor |
Cached |
invColumnNamedFeature |
string |
'' |
Inventor |
Cached |
invColumnOffset |
number |
1.0 |
Inventor |
Cached |
invColumnPart |
string |
'' |
Inventor |
Cached |
invComponents |
string |
'' |
Inventor |
Cached |
invName |
string |
this.invType |
Inventor |
Cached |
invRowCount |
integer |
1 |
Inventor |
Cached |
invRowEntityNaturalDirection |
boolean |
false |
Inventor |
Cached |
invRowNamedFeature |
string |
'' |
Inventor |
Cached |
invRowOffset |
number |
1.0 |
Inventor |
Cached |
invRowPart |
string |
'' |
Inventor |
Cached |
Project Example:
In your kBridge Examples Projects folder, open the project called ‘Inventor Patterns’.
Reference Location:
'world.extrusion_examples.extrusionvase'
Link: https://knowledgebridge.engineer/projects
Open the Inventor Patterns project.
The InvCircularOccurencePattern and the invRectangularOccurrencePattern designs need to be in the same assembly as the MyBlock and the MyCylinder.
The invColumnPart and the invRowPart are given the same name as the invName of the MyBlock.
The MyBlock/invName uses this formula to replace any Periods (.) and replace with an underscore (_).
Example Formula: this.refChain.replace(/\./g, "_") + "_MyBlock";
Same is done for the MyCylinder/invName.
Example Formula: this.refChain.replace(/\./g, "_")+ "_MyCylinder";
Click on the UI icon to open up the User Interface in the Inventor Patterns project.
In the Choose Pattern radio button, select the invRectangularOccurrencePattern.
Set the ColumnOffset, ColumnCount, RowCount and the RowOffet values.
When you run the run the project in Inventor, using the Knowledge Bridge Integration, the Patterns will be displayed.
Note: The Patterns are not displayed In Knowledge Bridge at this time.