<?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 Re: Extrude from BOM functionality is not working through customization in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/990790#M9223</link>
    <description>&lt;P&gt;Please Elaborate!&lt;/P&gt;</description>
    <pubDate>Thu, 26 Dec 2024 09:08:38 GMT</pubDate>
    <dc:creator>Shashwath</dc:creator>
    <dc:date>2024-12-26T09:08:38Z</dc:date>
    <item>
      <title>Extrude from BOM functionality is not working through customization</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/990453#M9220</link>
      <description>&lt;P&gt;The preference for the &lt;STRONG&gt;Part Structure Overridable Attribute&lt;/STRONG&gt; in Windchill is related to the concept of excluding a component from the Bill of Materials (BOM). In SolidWorks, there is an option to exclude a part from the BOM, which allows the component to remain in the CAD structure within Windchill but not appear in the assembly's part structure.&lt;/P&gt;&lt;P&gt;If this preference is not enabled, Windchill will not track the excluded component and it will remain part of the BOM. To properly exclude a component from the part structure, you must check out and check in the CAD assembly. This ensures that the changes are reflected in the part structure and the excluded component does not appear in the BOM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)through the manually do the checkout and checkin the CAD, the Extrude from BOM finctionality is working.&lt;/P&gt;&lt;P&gt;2)but if i do through programmatically checkout and checkin the CAD is happaning but the functionality is not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for checkout i wrote this:-&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;public&lt;/SPAN&gt; &lt;SPAN&gt;static&lt;/SPAN&gt; &lt;SPAN&gt;Workable&lt;/SPAN&gt; &lt;SPAN&gt;doCheckOut&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Workable&lt;/SPAN&gt;&lt;SPAN&gt; epmDocument) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;try&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;!&lt;/SPAN&gt;&lt;SPAN&gt;RemoteMethodServer&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ServerFlag&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt; (Workable) &lt;/SPAN&gt;&lt;SPAN&gt;RemoteMethodServer&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;getDefault&lt;/SPAN&gt;&lt;SPAN&gt;().&lt;/SPAN&gt;&lt;SPAN&gt;invoke&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"doCheckOut"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;AddtoWSChekin&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;class&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;getName&lt;/SPAN&gt;&lt;SPAN&gt;(), &lt;/SPAN&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;Class&lt;/SPAN&gt;&lt;SPAN&gt;[]{&lt;/SPAN&gt;&lt;SPAN&gt;EPMDocument&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;class&lt;/SPAN&gt;&lt;SPAN&gt;}, &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;Object&lt;/SPAN&gt;&lt;SPAN&gt;[]{epmDocument});&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;boolean&lt;/SPAN&gt; &lt;SPAN&gt;enforce&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;SessionServerHelper&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;manager&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;setAccessEnforced&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;try&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (epmDocument &lt;/SPAN&gt;&lt;SPAN&gt;!=&lt;/SPAN&gt; &lt;SPAN&gt;null&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;Workable&lt;/SPAN&gt; &lt;SPAN&gt;workable&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;null&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (epmDocument &lt;/SPAN&gt;&lt;SPAN&gt;instanceof&lt;/SPAN&gt;&lt;SPAN&gt; Iterated) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;Iterated&lt;/SPAN&gt; &lt;SPAN&gt;it&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; (Iterated) epmDocument;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; epmDocument &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; (EPMDocument) &lt;/SPAN&gt;&lt;SPAN&gt;VersionControlHelper&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;service&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;getLatestIteration&lt;/SPAN&gt;&lt;SPAN&gt;(it, &lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;WorkInProgressHelper&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;isCheckedOut&lt;/SPAN&gt;&lt;SPAN&gt;(epmDocument)) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; workable &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;WorkInProgressHelper&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;isWorkingCopy&lt;/SPAN&gt;&lt;SPAN&gt;(epmDocument)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;SPAN&gt; epmDocument &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;WorkInProgressHelper&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;service&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;workingCopyOf&lt;/SPAN&gt;&lt;SPAN&gt;(epmDocument);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &lt;/SPAN&gt;&lt;SPAN&gt;else&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;Folder&lt;/SPAN&gt; &lt;SPAN&gt;myFolder&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;WorkInProgressHelper&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;service&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;getCheckoutFolder&lt;/SPAN&gt;&lt;SPAN&gt;();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;CheckoutLink&lt;/SPAN&gt; &lt;SPAN&gt;link&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;WorkInProgressHelper&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;service&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;checkout&lt;/SPAN&gt;&lt;SPAN&gt;(epmDocument, myFolder, &lt;/SPAN&gt;&lt;SPAN&gt;"AutoCheckOut"&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; workable &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;link&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;getWorkingCopy&lt;/SPAN&gt;&lt;SPAN&gt;();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt; workable;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &lt;/SPAN&gt;&lt;SPAN&gt;catch&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;WTPropertyVetoException&lt;/SPAN&gt;&lt;SPAN&gt; | &lt;/SPAN&gt;&lt;SPAN&gt;WTException&lt;/SPAN&gt; &lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &lt;/SPAN&gt;&lt;SPAN&gt;finally&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SessionServerHelper&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;manager&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;setAccessEnforced&lt;/SPAN&gt;&lt;SPAN&gt;(enforce);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; } &lt;/SPAN&gt;&lt;SPAN&gt;catch&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;RemoteException&lt;/SPAN&gt;&lt;SPAN&gt; | &lt;/SPAN&gt;&lt;SPAN&gt;InvocationTargetException&lt;/SPAN&gt; &lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt; &lt;SPAN&gt;null&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;for checkin i wrote this:&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;public&lt;/SPAN&gt; &lt;SPAN&gt;static&lt;/SPAN&gt; &lt;SPAN&gt;void&lt;/SPAN&gt; &lt;SPAN&gt;doCheckIn&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;EPMDocument&lt;/SPAN&gt;&lt;SPAN&gt; epmDocument) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;try&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;!&lt;/SPAN&gt;&lt;SPAN&gt;RemoteMethodServer&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ServerFlag&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;RemoteMethodServer&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;getDefault&lt;/SPAN&gt;&lt;SPAN&gt;().&lt;/SPAN&gt;&lt;SPAN&gt;invoke&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"doCheckIn"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;AddtoWSChekin&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;class&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;getName&lt;/SPAN&gt;&lt;SPAN&gt;(), &lt;/SPAN&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;Class&lt;/SPAN&gt;&lt;SPAN&gt;[]{&lt;/SPAN&gt;&lt;SPAN&gt;EPMDocument&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;class&lt;/SPAN&gt;&lt;SPAN&gt;}, &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;Object&lt;/SPAN&gt;&lt;SPAN&gt;[]{epmDocument});&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;boolean&lt;/SPAN&gt; &lt;SPAN&gt;enforce&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;SessionServerHelper&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;manager&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;setAccessEnforced&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;try&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (epmDocument &lt;/SPAN&gt;&lt;SPAN&gt;!=&lt;/SPAN&gt; &lt;SPAN&gt;null&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;Workable&lt;/SPAN&gt; &lt;SPAN&gt;workable&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;WorkInProgressHelper&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;isWorkingCopy&lt;/SPAN&gt;&lt;SPAN&gt;(epmDocument) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;SPAN&gt; epmDocument &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;doCheckOut&lt;/SPAN&gt;&lt;SPAN&gt;(epmDocument); &lt;/SPAN&gt;&lt;SPAN&gt;// Get working copy if not already checked out&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;WorkInProgressHelper&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;service&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;checkin&lt;/SPAN&gt;&lt;SPAN&gt;(workable, &lt;/SPAN&gt;&lt;SPAN&gt;"AutoCheckIn"&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &lt;/SPAN&gt;&lt;SPAN&gt;catch&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;WTPropertyVetoException&lt;/SPAN&gt;&lt;SPAN&gt; | &lt;/SPAN&gt;&lt;SPAN&gt;WTException&lt;/SPAN&gt; &lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &lt;/SPAN&gt;&lt;SPAN&gt;finally&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SessionServerHelper&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;manager&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;setAccessEnforced&lt;/SPAN&gt;&lt;SPAN&gt;(enforce);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; } &lt;/SPAN&gt;&lt;SPAN&gt;catch&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;RemoteException&lt;/SPAN&gt;&lt;SPAN&gt; | &lt;/SPAN&gt;&lt;SPAN&gt;InvocationTargetException&lt;/SPAN&gt; &lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;please help, I am able to do chekout and ceckin the CAD&amp;nbsp; but the WTPart is not removing from the structure.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Dec 2024 05:47:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/990453#M9220</guid>
      <dc:creator>RaikarRaghu</dc:creator>
      <dc:date>2024-12-23T05:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude from BOM functionality is not working through customization</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/990790#M9223</link>
      <description>&lt;P&gt;Please Elaborate!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2024 09:08:38 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/990790#M9223</guid>
      <dc:creator>Shashwath</dc:creator>
      <dc:date>2024-12-26T09:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude from BOM functionality is not working through customization</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/991387#M9235</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/824005"&gt;@RaikarRaghu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The functionality is not part of the checkin API helper. The functionality is part of some additional apis that are called during the pre-checking process from workgroup manager or from the commonspace Windchill.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do the check-in by own function, you have to do the structure build by own function or you have to call the build function that update the WTPart structure based on the CAD .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this BuildHelper&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;WTHashSet buildEPM = new WTHashSet();
try
{
	EPMDocument epm = getCADDocumentOwnSearchFunction();
	buildEPM.addElement(epm);
	ConfigSpec configSpec = new EPMConfigSpecFilter(EPMDocConfigSpec.newEPMDocConfigSpec(), EPMFilters.NO_WORKING);
	BuildHelper.buildFromCAD(buildEPM, configSpec, false);
	System.out.println(String.format("Build WTP structure completed: %s ", epm.getNumber()));
	buildEPM.clear();
} catch (WTException e)
{
	System.out.println(String.format("The object can not be Synchonize: %s",buildEPM.toString()));
	e.printStackTrace();
	buildEPM.clear();
}&lt;/LI-CODE&gt;
&lt;P&gt;PetrH&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 08:24:00 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/991387#M9235</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2025-01-02T08:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude from BOM functionality is not working through customization</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/991542#M9236</link>
      <description>&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;I added this code before the pre - checking process. it was throwing error:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Error : java.lang.ClassCastException: class wt.epm.util.EPMConfigSpecFilter cannot be cast to class com.ptc.windchill.uwgm.soap.uwgmsvc.ConfigSpec (wt.epm.util.EPMConfigSpecFilter and com.ptc.windchill.uwgm.soap.uwgmsvc.ConfigSpec are in unnamed module of loader 'app')&lt;BR /&gt;&lt;BR /&gt;This is my import statements:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; com.ptc.windchill.uwgm.common.util.BuildHelper;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; com.ptc.windchill.uwgm.soap.uwgmsvc.ConfigSpec;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; wt.epm.util.EPMConfigSpecFilter;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;This is the code i am using:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;public&lt;/SPAN&gt; &lt;SPAN&gt;static&lt;/SPAN&gt; &lt;SPAN&gt;void&lt;/SPAN&gt;&lt;SPAN&gt; doCheckIn(EPMDocument &lt;/SPAN&gt;&lt;SPAN&gt;epmDocument&lt;/SPAN&gt;&lt;SPAN&gt;){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;try&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;WTHashSet &lt;/SPAN&gt;&lt;SPAN&gt;buildEPM&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt;&lt;SPAN&gt; WTHashSet(); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;try&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;buildEPM&lt;/SPAN&gt;&lt;SPAN&gt;.addElement(&lt;/SPAN&gt;&lt;SPAN&gt;epmDocument&lt;/SPAN&gt;&lt;SPAN&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ConfigSpec &lt;/SPAN&gt;&lt;SPAN&gt;configSpec&lt;/SPAN&gt;&lt;SPAN&gt; = (ConfigSpec) &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt;&lt;SPAN&gt; EPMConfigSpecFilter(EPMDocConfigSpec.&lt;/SPAN&gt;&lt;SPAN&gt;newEPMDocConfigSpec&lt;/SPAN&gt;&lt;SPAN&gt;(), EPMFilters.&lt;/SPAN&gt;&lt;SPAN&gt;NO_WORKING&lt;/SPAN&gt;&lt;SPAN&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BuildHelper.&lt;/SPAN&gt;&lt;SPAN&gt;buildFromCAD&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;buildEPM&lt;/SPAN&gt;&lt;SPAN&gt;, (wt.vc.config.ConfigSpec) &lt;/SPAN&gt;&lt;SPAN&gt;configSpec&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;System.&lt;/SPAN&gt;&lt;SPAN&gt;out&lt;/SPAN&gt;&lt;SPAN&gt;.println(String.&lt;/SPAN&gt;&lt;SPAN&gt;format&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"Build WTP structure completed: %s "&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;epmDocument&lt;/SPAN&gt;&lt;SPAN&gt;.getNumber()));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;buildEPM&lt;/SPAN&gt;&lt;SPAN&gt;.clear();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;} &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;catch&lt;/SPAN&gt;&lt;SPAN&gt; (WTException &lt;/SPAN&gt;&lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;) { &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;System.&lt;/SPAN&gt;&lt;SPAN&gt;out&lt;/SPAN&gt;&lt;SPAN&gt;.println(String.&lt;/SPAN&gt;&lt;SPAN&gt;format&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"The object can not be Synchonize: %s"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;buildEPM&lt;/SPAN&gt;&lt;SPAN&gt;.toString()));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;.printStackTrace(); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;buildEPM&lt;/SPAN&gt;&lt;SPAN&gt;.clear(); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;} &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (!RemoteMethodServer.&lt;/SPAN&gt;&lt;SPAN&gt;ServerFlag&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;RemoteMethodServer.&lt;/SPAN&gt;&lt;SPAN&gt;getDefault&lt;/SPAN&gt;&lt;SPAN&gt;().invoke(&lt;/SPAN&gt;&lt;SPAN&gt;"doCheckIn"&lt;/SPAN&gt;&lt;SPAN&gt;, AddtoWSChekin.&lt;/SPAN&gt;&lt;SPAN&gt;class&lt;/SPAN&gt;&lt;SPAN&gt;.getName(), &lt;/SPAN&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt;&lt;SPAN&gt; Class[] { EPMDocument.&lt;/SPAN&gt;&lt;SPAN&gt;class&lt;/SPAN&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;new&lt;/SPAN&gt;&lt;SPAN&gt; Object[] { &lt;/SPAN&gt;&lt;SPAN&gt;epmDocument&lt;/SPAN&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;} &lt;/SPAN&gt;&lt;SPAN&gt;else&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;boolean&lt;/SPAN&gt; &lt;SPAN&gt;enforce&lt;/SPAN&gt;&lt;SPAN&gt; = SessionServerHelper.&lt;/SPAN&gt;&lt;SPAN&gt;manager&lt;/SPAN&gt;&lt;SPAN&gt;.setAccessEnforced(&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;try&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;epmDocument&lt;/SPAN&gt;&lt;SPAN&gt;!=&lt;/SPAN&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;SPAN&gt;){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Workable &lt;/SPAN&gt;&lt;SPAN&gt;workable&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(!WorkInProgressHelper.&lt;/SPAN&gt;&lt;SPAN&gt;isWorkingCopy&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;epmDocument&lt;/SPAN&gt;&lt;SPAN&gt;)){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;workable&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;doCheckOut&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;epmDocument&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;else&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;workable&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;epmDocument&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;workable&lt;/SPAN&gt;&lt;SPAN&gt; = WorkInProgressHelper.&lt;/SPAN&gt;&lt;SPAN&gt;service&lt;/SPAN&gt;&lt;SPAN&gt;.checkin(&lt;/SPAN&gt;&lt;SPAN&gt;workable&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"AutoCheckIn"&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;} &lt;/SPAN&gt;&lt;SPAN&gt;catch&lt;/SPAN&gt;&lt;SPAN&gt;(WTPropertyVetoException &lt;/SPAN&gt;&lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;} &lt;/SPAN&gt;&lt;SPAN&gt;catch&lt;/SPAN&gt;&lt;SPAN&gt;(WTException &lt;/SPAN&gt;&lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;finally&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SessionServerHelper.&lt;/SPAN&gt;&lt;SPAN&gt;manager&lt;/SPAN&gt;&lt;SPAN&gt;.setAccessEnforced(&lt;/SPAN&gt;&lt;SPAN&gt;enforce&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;} &lt;/SPAN&gt;&lt;SPAN&gt;catch&lt;/SPAN&gt;&lt;SPAN&gt; (RemoteException &lt;/SPAN&gt;&lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;} &lt;/SPAN&gt;&lt;SPAN&gt;catch&lt;/SPAN&gt;&lt;SPAN&gt; (InvocationTargetException &lt;/SPAN&gt;&lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;BR /&gt;&lt;/SPAN&gt;Thanks&lt;BR /&gt;Raikar&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Jan 2025 03:52:54 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/991542#M9236</guid>
      <dc:creator>RaikarRaghu</dc:creator>
      <dc:date>2025-01-03T03:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude from BOM functionality is not working through customization</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/991546#M9237</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/824005"&gt;@RaikarRaghu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is simple. What does the error say?&lt;/P&gt;
&lt;P&gt;It says that the Object type&amp;nbsp;&lt;SPAN&gt;EPMConfigSpecFilter&amp;nbsp;is not compatible with your ConfigSpec. Why?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Because EPMConfigSpecFilter is implementation of a ConfigSpec&amp;nbsp;but from different package then you used.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;correct ConfigSpec is&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;wt.vc.config.&lt;/STRONG&gt;&lt;SPAN&gt;ConfigSpec not&amp;nbsp;&lt;STRONG&gt;com.ptc.windchill.uwgm.soap.uwgmsvc.&lt;/STRONG&gt;ConfigSpec.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you use&amp;nbsp;EPMConfigSpecFilter&amp;nbsp;instead of&amp;nbsp;ConfigSpec then it will also work.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;EPMConfigSpecFilter configSpec = new EPMConfigSpecFilter(EPMDocConfigSpec.newEPMDocConfigSpec(), EPMFilters.NO_WORKING);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;PetrH&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 08:45:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/991546#M9237</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2025-01-03T08:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude from BOM functionality is not working through customization</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/991586#M9238</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, I changed the code, now the code has no errors, but the Extrude from BOM functionality is not working. The Part structure is still remains same only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raikar&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 11:45:18 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/991586#M9238</guid>
      <dc:creator>RaikarRaghu</dc:creator>
      <dc:date>2025-01-03T11:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude from BOM functionality is not working through customization</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/991590#M9239</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/824005"&gt;@RaikarRaghu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should share a screen from a Compare to WTPart structure. from CAD to see why the build still build the WTPart in your structure.&lt;/P&gt;
&lt;P&gt;I guess that you do something wrong for example the functionality to build the structure based on CAD has the filter and the filter is not defined a way you expected. So you have to find correct filter that is used to build the WTPart structure. . You have to play with it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 12:46:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/991590#M9239</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2025-01-03T12:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude from BOM functionality is not working through customization</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/991918#M9243</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;When you do the action programmatically, are you checking if the value for the CAD attribute is set to "Yes" (CAD attribute that you have indicated in the preference "&lt;STRONG&gt;Part Structure Overridable Attribute").&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Hari&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 08:10:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/991918#M9243</guid>
      <dc:creator>Hari_Vara</dc:creator>
      <dc:date>2025-01-06T08:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude from BOM functionality is not working through customization</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/991922#M9244</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/775006"&gt;@Hari_Vara&lt;/a&gt;&amp;nbsp;good point&lt;/P&gt;
&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/824005"&gt;@RaikarRaghu&lt;/a&gt;&amp;nbsp;Is the model attribute set as a designated in the model? Is the value really saved in a Windchill database?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 08:13:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/991922#M9244</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2025-01-06T08:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude from BOM functionality is not working through customization</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/992089#M9248</link>
      <description>&lt;P&gt;Hello Peter,&lt;/P&gt;&lt;P&gt;It is a configuration in SolidWorks, and we create the attribute in the EPMDocumentUsageLink &amp;amp; use that value in the Preference "&lt;SPAN&gt;Part Structure Overridable Attribute"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Raikar&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 06:07:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/992089#M9248</guid>
      <dc:creator>RaikarRaghu</dc:creator>
      <dc:date>2025-01-07T06:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude from BOM functionality is not working through customization</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/992204#M9249</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/824005"&gt;@RaikarRaghu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The main point is if the value is really stored in the Windchill.&lt;/P&gt;
&lt;P&gt;You haven't answered it yet. Show screenshot from a structure that the value is set to true.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 13:16:35 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/992204#M9249</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2025-01-07T13:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude from BOM functionality is not working through customization</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/994425#M9347</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;No, the Value is not stored in the windchill, its is one time activity that we do while configure.&lt;/P&gt;&lt;P&gt;We just create one attribute in the EPMDocumentUsageLink object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raghavendra&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 12:06:03 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/994425#M9347</guid>
      <dc:creator>RaikarRaghu</dc:creator>
      <dc:date>2025-01-21T12:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude from BOM functionality is not working through customization</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/994470#M9352</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/824005"&gt;@RaikarRaghu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the value is not stored in windchill the exclude functionality can not work.&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 15:21:02 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/994470#M9352</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2025-01-21T15:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Extrude from BOM functionality is not working through customization</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/994569#M9355</link>
      <description>&lt;P&gt;Hello Peter,&lt;/P&gt;&lt;P&gt;Ok, for that the case i found one solution, add CAD assembly along with dependences into the workspace and do checkout the Assembly, open in the CAD authoring application save it and do check-in, the functionality will work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raghavendra&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 04:28:32 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Extrude-from-BOM-functionality-is-not-working-through/m-p/994569#M9355</guid>
      <dc:creator>RaikarRaghu</dc:creator>
      <dc:date>2025-01-22T04:28:32Z</dc:date>
    </item>
  </channel>
</rss>

