globalmapper.AddCustomLineClass¶
- globalmapper.AddCustomLineClass(str aName, GM_LineStyle_t aStyle) GM_Error_t32, LineFeatureClass_t16 [source]¶
Adds a new custom line classification. If this function succeeds, the new feature classification code will be returned as a LineFeatureClass_t16 value. This code can then be used as the feature classification for line features.
- Parameters
aName (str) – Custom type name
aStyle (GM_LineStyle_t) – Default draw style for features of this type
- Returns
Error Code
- Return type
GM_Error_t32
- Returns
Classification code for new type
- Return type
LineFeatureClass_t16