TCL Command ABMAXIS, Axis data

Inhalt

Index

Syntax

array set axis [ABMAXIS axid GET]

Description

Query the data of an axis

Argument

Dimension

Meaning

axid

OBJID

Object-ID of the axis

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

Axis name

type

ENUM

Type of the axis from ("GENERAL", "SECONDARY", "ACCOMPANY", "ACCPOLY" )

Further array items for axes of type GENERAL

Array item

Dimension

Meaning

bpmodel

GUID

Bimplus-model GUID, s. command AXIS/BIMPLUS

bpaxis

TEXT

Bimplus-axis name, s. command AXIS/BIMPLUS

bpkinks

INT

1 or 0, s. command AXIS/BIMPLUS

bpkinktol

ANGLED

Kink tolerance, s. command AXIS/BIMPLUS

sbeg

STATION

Start station, s. command AXIS

slope

INT

Direction of stationing, s. command AXIS

Further array items for axes of type SECONDARY

Array item

Dimension

Meaning

refaxisid

OBJID

Reference axis, s. command AXIS/REFAXIS

refs

STATION

Reference station. command AXIS/REFAXIS

ds

STATION

Station difference, s. command AXIS/DS

hval

LCROSSD

Constant height difference, s. command AXIS/HCROSS

hvar

TEXT

Variable height difference, s. command AXIS/HCROSS

dap

ANGLED

Additional angle in plan, s. command AXIS/DALPHAP

ae

ANGLED

Elevation angle, s. command AXIS/ALPHAE

Further array items for axes of type ACCOMPANY

Array item

Dimension

Meaning

refaxisid

OBJID

Reference axis, s. command AXIS/REFAXIS

refprofid

OBJID

Reference profile, s. command AXIS/REFPROFILE

sbeg

STATION

Start station, s. command AXIS/REFAXIS

send

STATION

End station, s. command AXIS/REFAXIS

dval

LCROSSD

Constant distance in plan, s. command AXIS/PLANDIST

dtab

TEXT

Tabular distance in plan, s. command AXIS/PLANDIST

hval

LCROSSD

Constant height difference, s. command AXIS/HEIGHTDIFF

htab

TEXT

Tabular height difference, s. command AXIS/HEIGHTDIFF

terrain

TEXT

Name of the terrain if used

Further array items for axes of type ACCPOLY

Array item

Dimension

Meaning

refaxisid

OBJID

Reference axis, s. command AXIS/REFAXIS

sbeg

STATION

Start station, s. command AXIS/REFAXIS

send

STATION

End station, s. command AXIS/REFAXIS

sofl

TEXT

Output table, s. command AXIS/OUTTABLES

lofs

TEXT

Output table, s. command AXIS/OUTTABLES

Scopes

All

Examples

array set axes [ABMAXES GET LIST]

if { $axes(count) > 0 } {

set ID $axes(first)

for { set iaxis 0 } { $iaxis < $axes(count) } { incr iaxis } {

if { $iaxis > 0 } { set ID [OBJNEXT $ID] }

array unset axis

array set axis [ABMAXIS $ID GET]

ABMINFO " "

ABMINFO " Axis " $axis(name) ":"

ABMINFO " ---------------------"

foreach {key value} [array get axis] {

if { $key == "id" } continue

if { $key == "refaxisid" } continue

if { $key == "refprofid" } continue

ABMINFO " " $key " = " $value

}

}

}

The list of axes is queried. If the number of axes is greater than zero, then the list is run through in a for loop. The concurrent ID is incremented from the 2nd pass. The axis information is logged.



Allplan

(C) ALLPLAN GmbH

Privacy policy