GET FEATURE DATA

From Macros Wiki
Revision as of 20:16, 27 May 2026 by JeremyStewart (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Up

Command

GET_FEATURE_DATA <feature number> <parameter>


Get data relating to a given feature.

Parameters

<feature number>
Feature number
<parameter>
Parameter (must be ID or NAME)
For ID, this will be the feature ID. For name, this must be a string variable to get the feature name.

Example

GET_FEATURE_DATA 3, ID, feature_id
GET_FEATURE_DATA 2, NAME, feature_name$

Note: Feature Number is the number/index when looping over features from GET_NUM_FEAUTRES, Feature ID is the actual ID to the feature. GET_NUM_FEATURES will iterate from 1 to number of features without gaps, Feature IDs are NOT guaranteed to be consecutive