The IsPathClass
property indicates whether the current MapClass
instance represents a path entity. Path entities are used within the map editor's Path Tool, allowing for the creation and manipulation of paths within a map.
The IsPathClass
property indicates whether the current MapClass
instance represents a path entity. Path entities are used within the map editor's Path Tool, allowing for the creation and manipulation of paths within a map.
Use the IsPathClass
property to determine if a MapClass
instance should be treated as a path entity. This can be useful when iterating over multiple map classes and you need to apply specific logic to path entities.
// Example of checking if a MapClass is a path entity MapClass mapClassInstance = new MapClass(); if (mapClassInstance.IsPathClass) { // Perform operations specific to path entities // For example, adding the entity to a path tool }