Query property of an embedded component - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Document Tools : DocumentTools/GetProperty

DocumentTools[GetProperty] - Query property of an embedded component

Calling Sequence

GetProperty(id, attr)

Parameters

id

-

name ; name of embedded component

attr

-

name ; property of the component that is to be queried

Description

• 

The GetProperty function queries the desired component for the value of a property.

• 

For a list of embedded components, see Overview of Embedded Components.

Examples

Suppose that your document has a slider component with name Slider1. To retrieve the current position of this slider, you can do this:

withDocumentTools:

GetProperty'Slider1','value'

42

(1)

See Also

DocumentTools, DocumentTools[SetProperty], Overview of Embedded Components


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam