.NET Framework Class Library
BOM.SetAbsolutePositionNumbers Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > BOM Class > BOM Methods >

.NET Framework Class Library
BOM.SetAbsolutePositionNumbers Method

Set the PARENT_CHILD_BOM_POS field for an assigned parent assembly Unique ID.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Sub SetAbsolutePositionNumbers ( _

 uid As String, _
 okTraverse As Boolean, _
 Optional onlyIfNotAbsolute As Boolean = True, _
 Optional onlyIfNotFake As Boolean = True _
)

C#

public void SetAbsolutePositionNumbers(

 string uid,
 bool okTraverse,
 bool onlyIfNotAbsolute = true,
 bool onlyIfNotFake = true
)

Visual C++

public:

void SetAbsolutePositionNumbers(
 Stringuid,
 bool okTraverse,
 bool onlyIfNotAbsolute = true,
 bool onlyIfNotFake = true
)

JavaScript

function setAbsolutePositionNumbers(uidokTraverseonlyIfNotAbsoluteonlyIfNotFake);

Parameters

uid

Type: System.String
parent assembly unique ID

okTraverse

Type: System.Boolean
if true, it applies the function to all the child sub-assemblies, otherwise only to 1st level components

onlyIfNotAbsolute (Optional)

Type: System.Boolean
Optional. If true, it forces the CAD native order only to components with no absolute position, otherwise to every component

onlyIfNotFake (Optional)

Type: System.Boolean
Optional. If true, avoids to assign Absolute position numbers to components that are fake under this specific parent

Remarks

See Also

BOM Class

BOM Members

MwPDMApi Namespace