SetLevelsPropertyByName method


Your Ad Here


Topsolid online Help Index

Created : v6.6

 

IDocument.SetLevelsPropertyByName(PropertyType, Levels, (optionnal) Name)

Description

This method sets the property of a list of level names.

Parameters

 

IN:

 

TopLevelProperty PropertyType

 

Property type.

IN :

String Levels (array)

 

List of level names.

IN :

String Name

Name.

 

Remarks

With this method you can set a property to a list of level names. The levels must be named with the SetLevelProperty method.

 

The name can be used to name a group when it's a list of level.

The name can be used to name a level when there's only one level in the list. (See also SetLevelProperty method).

Examples

Dim lnames(2) as String

Dim lgroup (3) as String

 

lnames(0) = "level1"

lnames(1) = "level2"

lnames(2) = "level3"

Doc.SetLevelsProperty topFreeze, lindexes

 

 

 

Topsolid online Help Index

Your Ad Here