Add method


Your Ad Here


Topsolid online Help Index

Created : v6.5

 

IComponent = IComponent.Add(Name, Ox, Oy, Oz)

Description

This method creates a component.

Parameters

IN:

 

String Name

 

Name of the component template document.

IN:

 

Double Ox

X coordinate of component origin.

 

IN:

 

Double Oy

 

Y coordinate of component origin.

 

IN:

 

Double Oz

 

Z coordinate of component origin.

 

RET:

IComponent

Created component.

 

Remarks

The created component is not automatically added to the assembly, if this is required, this must be done using IDocumentDesign.Assembly.Elements.Add().

Examples

Creating a component.

 

 

Topsolid online Help Index

Your Ad Here