• Help Home
  • English (US)
    1. English (US)
    2. 简体中文
    3. Deutsch
    4. Español
    5. Français
    6. Italiano
    7. 日本語
    8. 한국어
AutoCAD 2025 for Mac Developer and ObjectARX
    • Customization Guide
    • DXF Reference
    • AutoLISP and DCL
    • ObjectARX
      • ObjectARX: Developer's Guide
        • ObjectARX Introductory Concepts
          • Overview of ObjectARX
          • Database Primer
          • ObjectARX Application Basics
          • Database Operations
          • Database Objects
          • Entities
            • Entities Defined
            • Entity Ownership
            • Common Entity Properties
            • Common Entity Functions
              • Object Snap Points
              • Transform Functions
              • Intersecting for Points
              • GS Markers and Subentities
                • Subentity Path
                • Simple Highlighting Example
                  • Selecting an Entity
                  • Converting GS Markers to Subentity Paths
                  • Highlighting the Subentity
                • Highlighting Nested Block References
              • Exploding Entities
              • Annotation Scaling
            • Creating Instances of AutoCAD Entities
            • Complex Entities
            • Coordinate System Access
            • Curve Functions
            • Associating Hyperlinks with Entities
          • Container Objects
        • Basic Interaction with AutoCAD
        • Custom Objects
        • Advanced Topics
        • ObjectARX Graphics, Geometry, and Boundary Representation Libraries
      • ObjectARX: Reference Guide
      • ObjectARX: Release Notes
    Share
    • Email
    • Facebook
    • Twitter
    • LinkedIn
     
     

    Selecting an Entity

    For selection, you'll use a combination of global functions. First, use the acedSSGet() function to obtain the selection set. Then, use the acedSSNameX() function to obtain a subentity GS marker for the selected entity.

    int acedSSGet(
        const char * str,
        const void * pt1,
        const void * pt2,
        const struct resbuf * filter,
        ads_name ss);
     
    int acedSSNameX(
        struct resbuf ** rbpp,
        const ads_name ss,
        const long i);
    Parent topic: Simple Highlighting Example

    Was this information helpful?

    Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.

    • Privacy Statement
    • Legal Notices & Trademarks
    • Report Noncompliance
    • © 2025 Autodesk Inc. All rights reserved