All Frameworks  Object Hierarchy  This Framework  Indexes   

UserSurfaces (Collection)



Method Index

GenerateInAProductCtx
Use this method in a Product.
Generate
Use this method in a Part.
Item
Find a user surface inside the collection.
MakeUserSurfaceNode2
Usefull to create a User Surface Node from a list of User Surfaces.
MakeUserSurfaceNode
Usefull to create a User Surface Node from two others User Surface.

Methods


o 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).
iProdInst
The product instance where there is the geometry.
iSupport
The first reference that will support the user surface
Returns:
The created user surface
o 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
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)
 
o Func Item( iIndex) As
Find a user surface inside the collection.
Parameters:
iIndex
The position of the users surface in the collection
Returns:
The user surface that is in the iIndex position in the collection
o 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.
Returns:
The created user surface
o 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.
iSecondUserSurf
The second User Surface to use.
Returns:
The created user surface

Copyright © 2003, Dassault Systèmes. All rights reserved.