TCL Command ABASCHEDULE

Inhalt

Index

Syntax

array set schedule [ABASCHEDULE   schedid GET]

Description

Query the data of a schedule

Argument

Dimension

Meaning

schedid

OBJID

Object-ID of schedule

GET

KEYWORD

Query data

Return array

Array item

Dimension

Meaning

error

INT

Error code

info

TEXT

Object or error information

id

OBJID

Object-ID

name

TEXT

Name of the schedule

daye

INT

End day of schedule

Scopes

All

Examples

# find a schedule

set schedID [ABASCHEDULES GET SCHEDULE "Schedule1"]

if { $ID == 0 } {

    set error "Schedule 'Schedule1' not found."

    ABMERROR $error

    return

}

array set sched [ABASCHEDULE $schedID GET]

The schedule Schedule1 is searched. If this does not exist, an error message is logged and the script is exited. Otherwise, the object data is queried.



Allplan

(C) ALLPLAN GmbH

Privacy policy