<?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 Create drawing dimension with web.link in Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Customization/Create-drawing-dimension-with-web-link/m-p/842003#M11767</link>
    <description>&lt;P&gt;Hi everyone,&amp;nbsp;we wanna &lt;SPAN&gt;develop a function whitch would auto&amp;nbsp;&lt;/SPAN&gt;create a dimension to represent the length of specific edge in drawing mode. I found a few descriptions in web.link user guide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"The method pfcEmptyDimensionSense.Create() creates a new&lt;BR /&gt;dimension sense associated with the type DIMSENSE NONE. The sense field is&lt;BR /&gt;set to Type In this case no information such as location or direction is needed to&lt;BR /&gt;describe the attachment points. For example, if there is a single attachment which&lt;BR /&gt;is a straight line, the dimension is the length of the straight line."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There comes two question. First, is there supported API to get every edge's length so we could make comparison to find out the longest edge. Second, if we could find the longest one, is there some snipped code could be refereced&amp;nbsp; to really build up the dimesion like below ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Creo_Dimension.jpg" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/72037iDAB97ED3DA6163B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Creo_Dimension.jpg" alt="Creo_Dimension.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2023 05:11:40 GMT</pubDate>
    <dc:creator>Andy.Hsieh</dc:creator>
    <dc:date>2023-03-20T05:11:40Z</dc:date>
    <item>
      <title>Create drawing dimension with web.link</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Create-drawing-dimension-with-web-link/m-p/842003#M11767</link>
      <description>&lt;P&gt;Hi everyone,&amp;nbsp;we wanna &lt;SPAN&gt;develop a function whitch would auto&amp;nbsp;&lt;/SPAN&gt;create a dimension to represent the length of specific edge in drawing mode. I found a few descriptions in web.link user guide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"The method pfcEmptyDimensionSense.Create() creates a new&lt;BR /&gt;dimension sense associated with the type DIMSENSE NONE. The sense field is&lt;BR /&gt;set to Type In this case no information such as location or direction is needed to&lt;BR /&gt;describe the attachment points. For example, if there is a single attachment which&lt;BR /&gt;is a straight line, the dimension is the length of the straight line."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There comes two question. First, is there supported API to get every edge's length so we could make comparison to find out the longest edge. Second, if we could find the longest one, is there some snipped code could be refereced&amp;nbsp; to really build up the dimesion like below ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Creo_Dimension.jpg" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/72037iDAB97ED3DA6163B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Creo_Dimension.jpg" alt="Creo_Dimension.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 05:11:40 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Create-drawing-dimension-with-web-link/m-p/842003#M11767</guid>
      <dc:creator>Andy.Hsieh</dc:creator>
      <dc:date>2023-03-20T05:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create drawing dimension with web.link</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Create-drawing-dimension-with-web-link/m-p/862848#M11954</link>
      <description>&lt;P&gt;Does anyone has the direction to develope this function ? I'm really stuck...&lt;/P&gt;</description>
      <pubDate>Sun, 19 Mar 2023 16:57:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Create-drawing-dimension-with-web-link/m-p/862848#M11954</guid>
      <dc:creator>Andy.Hsieh</dc:creator>
      <dc:date>2023-03-19T16:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create drawing dimension with web.link</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Create-drawing-dimension-with-web-link/m-p/863301#M11957</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;First, is there supported API to get every edge's length so we could make comparison to find out the longest edge.&lt;/P&gt;
dimesion like below ?&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Read chapter "Geometry Evaluation" in the weblink documentation weblinkug.pdf. And "Evaluation of Curves and Edges"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;is there some snipped code could be refereced&amp;nbsp; to really build up the dimesion like below ?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Search CreateDrawingDimension in ...\Common Files\weblink\weblinkexamples\jscript\pfcDrawingExamples.js&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 11:58:14 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Create-drawing-dimension-with-web-link/m-p/863301#M11957</guid>
      <dc:creator>YaroslavSin</dc:creator>
      <dc:date>2023-03-21T11:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create drawing dimension with web.link</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/Create-drawing-dimension-with-web-link/m-p/938512#M12949</link>
      <description>&lt;P&gt;Finally, we use toolkit to solve this problem.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 13:27:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/Create-drawing-dimension-with-web-link/m-p/938512#M12949</guid>
      <dc:creator>Andy.Hsieh</dc:creator>
      <dc:date>2024-03-21T13:27:27Z</dc:date>
    </item>
  </channel>
</rss>

