Bob:

>Example: AddLayerToWorkspace() The help file specifies the parameter
>layer_name. Unfortunately, the help doesn't tell me  how to find out
>what value to pass it. Most of the help pages are equally
>uncrossreferenced, making it impossible for someone like me to get
>started.

Note that the syntax for that function is:

actual_name = AddLayerToWorkspace(string layer_name, string db_name, string 
db_layer_name)

So, layer_name is a string. Then, look at the table that describes the 
parameters and you find:

Argument        Contents
layer_name      The desired name for the new layer

So, layer_name is the name that you want the new layer to be called. You 
can call it anything you want, but if you choose a name that is already in 
use as a layer name, it will be modified to make it unique. The function 
returns the actual name in actual_name variable (or whatever you call it). 
The "Common Calling Conventions" topic give some useful background in how 
to call functions, and the "Maps and Layers" topic introduces functions for 
maps and layers, including AddLayerToWorkspace(), and indicates that 
"AddLayerToWorkspace() has been superceded by AddLayerToWorkspaceEx()."

In terms of cross referencing, I try to have the See Also section reference 
related functions. For example, for the db_layer_name parameter, you need 
to know what layers are in a geographic file, so there is a cross reference 
to GetDBLayers().

The GISDK on-line help is being continually enhanced, and comments to 
improve it are welcome.

Peter

----------------------------------------------------------------
Peter Van Demark
Director of GIS Products and Training        Phone: 617-527-4700
Caliper Corporation                            Fax: 617-527-5113
1172 Beacon Street                     E-mail: [EMAIL PROTECTED]
Newton MA 02461-9926            Web site: http://www.caliper.com




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/C5grlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Maptitude/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to