SetBOMAbsolutePositionNumbers

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > BOM >

SetBOMAbsolutePositionNumbers

Description

It allows to set the PARENT_CHILD_BOM_POS field for an assigned parent assembly Unique ID.

Syntax

call DBWShell("SetBOMAbsolutePositionNumbers ParentAsmUid OkTraverse [OnlyIfNotAbsolute]")

Parameters

ParentAsmUid

the parent assembly Unique ID

OkTraverse

0: applies the function to 1st level components only
1: applies the function to all the child sub-assemblies

OnlyIfNotAbsolute

not assigned: uses the current state of the option
0: force the CAD native order to every component
1: force the CAD native order only to components with no absolute position

OnlyIfNotFake

Optional.
1:avoids to assign Absolute position numbers to components that are fake under this specific parent. 0: otherwise

Remarks

It is useful for freezing the actual BOM Position Numbers before an approval or before sending data to an ERP

Example

DBWShell("SetBOMAbsolutePositionNumbers 100086051 1 1")