GetProperty - Maple Help

Online Help

All Products    Maple    MapleSim


DocumentTools

  

GetProperty

  

query property of an embedded component

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

GetProperty(id, prop)

Parameters

id

-

{name, string} ; name of embedded component

prop

-

{name, string} ; 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:

GetPropertySlider1,value

42

(1)

See Also

DocumentTools

DocumentTools[SetProperty]

Overview of Embedded Components