Aaron:
 
You created an empty group... until you actually put objects inside that group, there can be no defined size to it, so GetGroupExtent_MVIEW returns rMIN and rMAX.
 

_______________
Geosoft Inc.
Stephen Cheesman
[EMAIL PROTECTED]
(905) 315-8207

Software and services for effective earth science decision-making.
Free Oasis montaj interface now available at http://www.geosoft.com
 

-----Original Message-----
From: skyhunter [mailto:[EMAIL PROTECTED]]
Sent: July 11, 2002 11:45 AM
To: GXNET
Subject: [gxnet]: Setting Group Extents

Hi,
 
I'm having trouble setting my group wextents and wondering if anyone can offer help. Here's a breif overview of what I'm doing,
 
View = Create_MVIEW(Map, "*Data", MVIEW_WRITEOLD);
Extent_MVIW(View,MVIEW_EXTENT_MAP,MVIEW_EXTENT_UNIT_VIEW, Xmn,Ymn,Xmx,Ymx);
DisplayReal_SYS("Xmn", Xmn);
...
...
    //Right here, Xmn, Ymn, ... give the correct view extents
 
StartGroup_MVIEW(View, "Group1", MVIEW_GROUP_NEW);
GetGroupExtent_MVIEW(View, "Group1", Xmn, Ymn, Xmx, Ymx, MVIEW_UNIT_VIEW);
DisplayReal_SYS("Xmn", Xmn);
...
...
    //Here I get Xmn, Ymn = -9.000e+0.31 and Xmx,Ymx = 1.0000e+032
 
 
Can someone tell me what I'm missing here in order to set the proper group extents
 
 
 
Aaron Balasch
Sky Hunter Technologies Inc.
Suite 101, 1725 10th Avenue S.W.
Calgary, Alberta T3C 0K1
email: [EMAIL PROTECTED]
phone: 403-228-2175
fax: 403-244-7955

Reply via email to