Share

ComponentOccurrences.AddiPartMember Method

Parent Object: ComponentOccurrences

Description

Method that creates an of an iPartMember in this AssemblyComponentDefinition. The iPartMember is specified by a factory and a row in the factory.

Syntax

ComponentOccurrences.AddiPartMember( FactoryFileName As String, Position As Matrix, [Row] As Variant ) As ComponentOccurrence

Parameters

Name Type Description
FactoryFileName String Input String that specifies the full filename of the iPart factory.

Position Matrix Input Matrix that defines the position and orientation of the iPart placement within the assembly.

Row Variant Optional input Variant that specifies the row for the member within the factory. The row index is specified either by a Long (row index), a String (part identifier, i.e. ''[Height=1.000 in][Length=2.000 in][Radius=0.250 in]''), or an iPartTableRow object.

This is an optional argument whose default value is null.

Samples

Name Description
Adding iPart occurrences to an assembly This sample demonstrates adding iPart occurrences to an assembly.

Version

Introduced in version 6

Was this information helpful?