cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Help with using Region class and SelectedRegion property...

DavidDickinson
1-Newbie

Help with using Region class and SelectedRegion property...

Good afternoon all,

While perusing through the MathCAD "Developers Reference", I came across a few things I think may help me and I need somone to explain and show an example or two...

First of all, the Region class states that it represents a MathCAD region within a Worksheet object, and that it contains information relating to its location on the MathCAD sheet. What I would like to know about this is, 2 things:

1. Can I see an example of how to use the Region Class, and what the proper syntax is? I searched through the "Developers Reference" and online, but came up with nothing...

2. Can someone explain what the Region2 class is and why it is used?

Secondly, I have a question regarding the selected region property: What is it, How is it used, and what is proper syntax for using it?

Thanks in advance to all! And PLEASE help me!

3 REPLIES 3

Hello!

Which version of Mathcad are you using?

Sorry, I am using MathCAD 15

The attached file contains some example scripted components. The file here:

Extra Components.mcd

Also contains an example. Search for "XML of a region".

Top Tags