Search:     Advanced search

Item Routines

Article ID: 71
Last updated: 22 Sep, 2010
Views: 1521
Posted: 12 Jun, 2008
by Ramsey M.
Updated: 22 Sep, 2010
by Murray D.

Here is a list of available item routines:

function AllItemCount
Description
Returns the estimating items count
 
Example
 
function ChildCount(ItemID)
Description
Returns the # estimating items count
 
Parameters
ItemID
 
Example
 

function ChildItem(ItemID, Index)

Description
Returns the # estimating items count
 
Parameters
ItemID
 
Index
 
Example
 
function ParentItem(ItemID)
Description
Returns the ID of the parent
 
Parameter
ItemID
 
Example
 
function NewItem(ParentItemID)
Description
Returns the ID of the new item
 
Parameters
ParentItemID
 
Example
 
function SortSubItems(ItemID)
Description
Sorts the sub-items of the item
 
Parameters
ItemID
 
Example
 
function ItemVisible(ItemID)
Description
Returns true if item is visible, false if invisible
 
Parameters
ItemID
 
Example
 

function SetItemVisible(ItemID, Visible)

Description
 
Parameters
ItemID
 
Visible
 
Example
 
function ItemColor(ItemID)
Description
Returns Item Color
 
Parameters
ItemID
 
Example
 

function SetItemColor(ItemID, Color)

Description
Sets item color
 
Parameters
ItemID
 
Color
 
Example
 
function SendToBack(ItemID)
Description
Send item to back
 
Parameters
ItemID
 
Example
 
function BringToFront(ItemID)
Description
Brings item to front
 
Parameters
ItemID
 
Example
 

function SetItemType(ItemID, Type)

Description
 
Parameters
ItemID
 
Type

Possible Values: "FOLDER", "ASSEMBLY", "PART", "NONE"

 
Example
 
function CurrentItem
Description
Returns the ID of the selected estimating item
 
Example
 
function DeleteItem(ItemID)
Description
Deletes the selected estimating item
 
Parameters
ItemID
 
Example
 
function GetEstItemByName
Description
 
Example
This article was:  
Prev  Not what you're looking for? Suggest a topic  Next
Item Property Routines     Item Section Routines