<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Creo Pro/TOOLKIT – Axis-Based Dimension Attachments Not Returned (Any API or Workaround?) in Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059003#M14840</link>
    <description>&lt;DIV&gt;&lt;P&gt;I am using &lt;STRONG&gt;Creo Pro/TOOLKIT (C++)&lt;/STRONG&gt; to extract drawing dimension attachments.&lt;/P&gt;&lt;P&gt;Observed behavior:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When a dimension is attached to an &lt;STRONG&gt;edge or surface&lt;/STRONG&gt;, all attachment APIs return valid results.&lt;/LI&gt;&lt;LI&gt;When a dimension is attached to a &lt;STRONG&gt;cylindrical axis / hole centerline&lt;/STRONG&gt;, &lt;STRONG&gt;none&lt;/STRONG&gt; of the following APIs return that attachment:&lt;UL&gt;&lt;LI&gt;&lt;CODE&gt;ProDimensionAttachmentsGet&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;CODE&gt;ProDrawingDimAttachpointsGet&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;CODE&gt;ProDrawingDimAttachpointsViewGet&lt;/CODE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This occurs for &lt;STRONG&gt;both linear and ordinate dimensions&lt;/STRONG&gt;, even though the drawing visually shows the dimension referencing the cylinder axis.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is this behavior &lt;STRONG&gt;by design&lt;/STRONG&gt; in Creo (i.e., axis stored as an implicit or drawing-only entity)?&lt;/LI&gt;&lt;LI&gt;Is there any &lt;STRONG&gt;direct API&lt;/STRONG&gt; to retrieve axis-based dimension attachments?&lt;/LI&gt;&lt;LI&gt;If not, what are the &lt;STRONG&gt;recommended workarounds or best practices&lt;/STRONG&gt;&amp;nbsp;to catch attachments for dimensions with axis as attachments?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any guidance or confirmation would be appreciated.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 17 Mar 2026 19:31:28 GMT</pubDate>
    <dc:creator>AS_13847166</dc:creator>
    <dc:date>2026-03-17T19:31:28Z</dc:date>
    <item>
      <title>Creo Pro/TOOLKIT – Axis-Based Dimension Attachments Not Returned (Any API or Workaround?)</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059003#M14840</link>
      <description>&lt;DIV&gt;&lt;P&gt;I am using &lt;STRONG&gt;Creo Pro/TOOLKIT (C++)&lt;/STRONG&gt; to extract drawing dimension attachments.&lt;/P&gt;&lt;P&gt;Observed behavior:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When a dimension is attached to an &lt;STRONG&gt;edge or surface&lt;/STRONG&gt;, all attachment APIs return valid results.&lt;/LI&gt;&lt;LI&gt;When a dimension is attached to a &lt;STRONG&gt;cylindrical axis / hole centerline&lt;/STRONG&gt;, &lt;STRONG&gt;none&lt;/STRONG&gt; of the following APIs return that attachment:&lt;UL&gt;&lt;LI&gt;&lt;CODE&gt;ProDimensionAttachmentsGet&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;CODE&gt;ProDrawingDimAttachpointsGet&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;CODE&gt;ProDrawingDimAttachpointsViewGet&lt;/CODE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This occurs for &lt;STRONG&gt;both linear and ordinate dimensions&lt;/STRONG&gt;, even though the drawing visually shows the dimension referencing the cylinder axis.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is this behavior &lt;STRONG&gt;by design&lt;/STRONG&gt; in Creo (i.e., axis stored as an implicit or drawing-only entity)?&lt;/LI&gt;&lt;LI&gt;Is there any &lt;STRONG&gt;direct API&lt;/STRONG&gt; to retrieve axis-based dimension attachments?&lt;/LI&gt;&lt;LI&gt;If not, what are the &lt;STRONG&gt;recommended workarounds or best practices&lt;/STRONG&gt;&amp;nbsp;to catch attachments for dimensions with axis as attachments?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any guidance or confirmation would be appreciated.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 17 Mar 2026 19:31:28 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059003#M14840</guid>
      <dc:creator>AS_13847166</dc:creator>
      <dc:date>2026-03-17T19:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creo Pro/TOOLKIT – Axis-Based Dimension Attachments Not Returned (Any API or Workaround?)</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059124#M14842</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;ProDimensionAttachmentsGet require a license key for „TOOLKIT for 3D Drawings“, you have that lic key?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 13:19:07 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059124#M14842</guid>
      <dc:creator>RPN</dc:creator>
      <dc:date>2026-03-18T13:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Creo Pro/TOOLKIT – Axis-Based Dimension Attachments Not Returned (Any API or Workaround?)</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059151#M14843</link>
      <description>&lt;P&gt;Thanks for Replying&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/43740"&gt;@RPN&lt;/a&gt;&amp;nbsp;, We have a license key for ProDimensionAttachmentGet&lt;BR /&gt;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,&lt;BR /&gt;The ProDimensionAttachmentGet API is retrieving the edge but failing to get the hole axis.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 15:48:06 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059151#M14843</guid>
      <dc:creator>AS_13847166</dc:creator>
      <dc:date>2026-03-18T15:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creo Pro/TOOLKIT – Axis-Based Dimension Attachments Not Returned (Any API or Workaround?)</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059153#M14844</link>
      <description>&lt;P&gt;Sorry, as far I know you can’t have a license for a single call, for&amp;nbsp;&lt;SPAN&gt;ProDimensionAttachmentGet a Toolkit license is &lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;not&lt;/FONT&gt;&lt;/STRONG&gt; 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.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 16:04:51 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059153#M14844</guid>
      <dc:creator>RPN</dc:creator>
      <dc:date>2026-03-18T16:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creo Pro/TOOLKIT – Axis-Based Dimension Attachments Not Returned (Any API or Workaround?)</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059154#M14845</link>
      <description>&lt;P&gt;I am having the license named "TOOLKIT-for-3D_Drawings"&lt;BR /&gt;&lt;BR /&gt;Is that enough or do i need more?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 16:03:35 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059154#M14845</guid>
      <dc:creator>AS_13847166</dc:creator>
      <dc:date>2026-03-18T16:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creo Pro/TOOLKIT – Axis-Based Dimension Attachments Not Returned (Any API or Workaround?)</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059157#M14846</link>
      <description>&lt;P&gt;No that is good, if this (both) is active during you run (debug your code) Creo.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOT_FOUND - Hmm,&lt;/P&gt;
&lt;P&gt;are you sure you have setup the dimension correct, It must be a PRO_DIMENSION or a PRO_REF_DIMENSION point to the Solid with a correct ID. Check the item with ProModelitemInit, and the correct type, you need to get PRO_TK_NO_ERROR.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or is the returned attachments_arr empty? What is the Array size?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are the returned status values?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The attachments structure is an array of two ProSelection entities, from this you need to get the modelitem. You follow this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 16:45:13 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059157#M14846</guid>
      <dc:creator>RPN</dc:creator>
      <dc:date>2026-03-18T16:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creo Pro/TOOLKIT – Axis-Based Dimension Attachments Not Returned (Any API or Workaround?)</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059159#M14847</link>
      <description>&lt;P&gt;Yeah i have checked with the other side attachment type correctly and properly getting ProModelItem handle under the&amp;nbsp;&lt;BR /&gt;ProSelectionModelitemGet API.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 16:37:36 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059159#M14847</guid>
      <dc:creator>AS_13847166</dc:creator>
      <dc:date>2026-03-18T16:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creo Pro/TOOLKIT – Axis-Based Dimension Attachments Not Returned (Any API or Workaround?)</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059166#M14848</link>
      <description>&lt;P&gt;So your returned size is 2, but if&amp;nbsp; you have a dimension from one centerline to another you don't get the axis geom iD?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the modelitem content, type, ID?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the manual: Note&lt;BR /&gt;The attachments structure is an array of two ProSelection entities. &lt;FONT color="#008000"&gt;It&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;is provided to support options such as intersect where two entities must be&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;passed as input&lt;/FONT&gt;. From Creo Parametric 3.0 onward, you can create&lt;BR /&gt;dimensions that have intersection type of reference. The intersection type&lt;BR /&gt;of reference is a reference that is derived from the intersection of two&lt;BR /&gt;entities.&lt;/P&gt;
&lt;P&gt;The function ProDimensionAttachmentsGet() and&lt;BR /&gt;ProDimensionAttachmentSet() provide access to the geometric&lt;BR /&gt;references and parameters of the driven or reference dimension. These functions&lt;BR /&gt;support dimensions that are created with intersection type of reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The last sentence I don't understand, and maybe the already known information makes this call absolut, for example if you have a diameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you dealing with drawings created in the same version, or something which is very old?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is also&amp;nbsp;&lt;FONT color="#0000FF"&gt;ProDrawingDimAttachsGet&lt;/FONT&gt;()/&lt;FONT color="#0000FF"&gt;ProDrawingDimAttachpointsGet&lt;/FONT&gt;() maybe you get here what you are searching for?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Purpose: Retrieves the attachments and the sense of the specified&lt;BR /&gt;drawing dimension. Only applicable for dimensions created&lt;BR /&gt;in drawing mode.&lt;BR /&gt;This function also supports drawing dimensions created&lt;BR /&gt;from intersections of geometric entities.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 17:13:22 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059166#M14848</guid>
      <dc:creator>RPN</dc:creator>
      <dc:date>2026-03-18T17:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creo Pro/TOOLKIT – Axis-Based Dimension Attachments Not Returned (Any API or Workaround?)</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059169#M14849</link>
      <description>&lt;P&gt;We have tried all the three available APIs but not getting needed output&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 17:33:04 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059169#M14849</guid>
      <dc:creator>AS_13847166</dc:creator>
      <dc:date>2026-03-18T17:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creo Pro/TOOLKIT – Axis-Based Dimension Attachments Not Returned (Any API or Workaround?)</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059178#M14850</link>
      <description>&lt;P&gt;So, you don’t get the geom&amp;nbsp;axis? So what are you expecting?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you share some „C“ code, maybe one function from your program, I know it’s frustrating if you search the needle. You can also write here a mail.&amp;nbsp;&lt;BR /&gt;Else I’m out, because it is to complicated with that amount of information.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 18:33:35 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Creo-Pro-TOOLKIT-Axis-Based-Dimension-Attachments-Not-Returned/m-p/1059178#M14850</guid>
      <dc:creator>RPN</dc:creator>
      <dc:date>2026-03-18T18:33:35Z</dc:date>
    </item>
  </channel>
</rss>

