Methods
- Func Generate( iSupport) As
-
Use this method in a Part.
Creates a new user surface and adds it to the Surfaces collection.
- Parameters:
-
- iSupport
- The first reference that will support the user surface dd>
- Returns:
- The created user surface
- Example:
-
The following example creates a user surface names NewUserSurf
from the reference Ref
in the Surfaces collection of the rootPart part
in the partDoc part document.
Set rootPart = partDoc.Part Set NewUserSurf = rootPart.UserSurfaces.Add(Ref)
dd>
- Func GenerateInAProductCtx( iProduct, iProdInst, iSupport) As
-
Use this method in a Product.
Creates a new user surface and adds it to the Surfaces collection.
- Parameters:
-
- iProduct
- The level on which you want to create annotation (part or product). dd>
- iProdInst
- The product instance where there is the geometry. dd>
- iSupport
- The first reference that will support the user surface dd>
- Returns:
- The created user surface dd>
- Func Item( iIndex) As
-
Find a user surface inside the collection.
- Parameters:
-
- iIndex
- The position of the users surface in the collection dd>
- Returns:
- The user surface that is in the iIndex position in the collection dd>
- Func MakeUserSurfaceNode( iFirstUserSurf, iSecondUserSurf) As
-
Usefull to create a User Surface Node from two others User Surface.
Creates a new user surface and adds it to the Surfaces collection.
- Parameters:
-
- iFirstUserSurf
- The first User Surface to use. dd>
- iSecondUserSurf
- The second User Surface to use. dd>
- Returns:
- The created user surface dd>
- Func MakeUserSurfaceNode2( iListOfUserSurfaces) As
-
Usefull to create a User Surface Node from a list of User Surfaces.
Creates a new user surface and adds it to the Surfaces collection.
- Parameters:
-
- iListOfUserSurfaces
- The list User Surfaces to use. dd>
- Returns:
- The created user surface dd>