Ticket #78 (assigned Task: null)

Opened 6 years ago

Last modified 6 years ago

The "Scripting Syntax" section of the ArcGIS documentation should say "TRUE" should be passed for boolean parameters

Reported by: jjr8 Owned by: jjr8
Priority: Medium Milestone: Unscheduled
Component: Core - ArcGIS Interop Version:
Keywords: Cc:

Description

Apparently, when you call a script tool through the ArcGIS geoprocessor's COM Automation object, you cannot pass a VARIANT_BOOL to indicate True or False. Instead you must pass the case-insensitive string "TRUE" to indicate True or anything else to indicate False (including "FALSE", or even VARIANT_BOOL of True!)

I need to investigate further to determine if this only happens with Python (indicating an issue with pythoncom) or with other scripting languages (indicating that this is how the geoprocessor COM Automation object really works).

If this is really how the geoprocessor COM Automation object really works, the ArcGIS documentation should note this issue under the "Scripting Syntax" section, for all boolean parameters of all tools. The XSL should automatically insert a statement describing the situation.

Change History

Changed 6 years ago by jjr8

  • status changed from new to assigned
  • version set to MGET 0.2
  • milestone changed from MGET 0.1 to MGET 0.3

Changed 6 years ago by jjr8

  • version 0.2 deleted
  • milestone changed from 0.3 to Unscheduled
Note: See TracTickets for help on using tickets.