Skip to main content
9-Granite
March 17, 2026
Question

Creo Pro/TOOLKIT – Axis-Based Dimension Attachments Not Returned (Any API or Workaround?)

  • March 17, 2026
  • 1 reply
  • 349 views

I am using Creo Pro/TOOLKIT (C++) to extract drawing dimension attachments.

Observed behavior:

  • When a dimension is attached to an edge or surface, all attachment APIs return valid results.
  • When a dimension is attached to a cylindrical axis / hole centerline, none of the following APIs return that attachment:
    • ProDimensionAttachmentsGet
    • ProDrawingDimAttachpointsGet
    • ProDrawingDimAttachpointsViewGet

This occurs for both linear and ordinate dimensions, even though the drawing visually shows the dimension referencing the cylinder axis.

Questions:

  1. Is this behavior by design in Creo (i.e., axis stored as an implicit or drawing-only entity)?
  2. Is there any direct API to retrieve axis-based dimension attachments?
  3. If not, what are the recommended workarounds or best practices to catch attachments for dimensions with axis as attachments?

Any guidance or confirmation would be appreciated.

1 reply

18-Opal
March 18, 2026

ProDimensionAttachmentsGet require a license key for „TOOLKIT for 3D Drawings“, you have that lic key?

9-Granite
March 18, 2026

Thanks for Replying @RPN , We have a license key for ProDimensionAttachmentGet
and to add on: if a dimension is having two attachment (one as an edge) and the other one is the cylinder or hole axis,
The ProDimensionAttachmentGet API is retrieving the edge but failing to get the hole axis.

18-Opal
March 18, 2026

Sorry, as far I know you can’t have a license for a single call, for ProDimensionAttachmentGet a Toolkit license is not enough! On compilation you will not see an error, -4 = NOT_FOUND may tell you that the key is not found. It may return valid data until you not call 3D Drawing related data.