PC-Dmis 2010 Object Library | Send comments on this topic. | See Object Hierarchy Chart
LastCommand Property
See Also

Collapse All Expand All

# Description

Read Only: Returns the last command

Returns a Command object representing the last command in the part program. Read-only Command object.

# Property type

Read-write property

# Syntax

Visual Basic

    Public Property LastCommand() As Command

# Return Type

Command object.

# Remarks

This gives you a faster way of getting the last command. Before you had to use this syntax:

Commands.Item(Commands.Count).

# See Also

Commands Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.