<?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: export a step file with weblink in 3D Part &amp; Assembly Design</title>
    <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/export-a-step-file-with-weblink/m-p/222901#M48447</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see. I've added theglobalconnection. and changed the model to just a loaded part. But it still gives me an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function ExportSTP(){&lt;BR /&gt;&lt;BR /&gt;try&lt;BR /&gt;{&lt;BR /&gt;var mGlob = pfcCreate("MpfcCOMGlobal");&lt;BR /&gt;var oSession = mGlob.GetProESession();&lt;BR /&gt;var CurModel = oSession.CurrentModel;&lt;BR /&gt;var exportflag = new pfcCreate ("pfcGeometryFlags").Create();&lt;BR /&gt;var modelexport = new pfcCreate("pfcAssemblyConfiguration").EXPORT_ASM_SINGLE_FILE;&lt;BR /&gt;&lt;BR /&gt;exportflag.AsSolids = true; &lt;BR /&gt;exportflag.AsQuilts = true; &lt;/P&gt;&lt;P&gt;var STPexport = new pfcCreate("pfcSTEP3DExportInstructions").Create(modelexport, exportflag);&lt;BR /&gt;CurModel.Export("test.stp", STPexport);&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;}catch(err){&lt;BR /&gt;alert("Kan tekening niet Exporteren naar STP reden: " +err );&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Mar 2010 08:23:36 GMT</pubDate>
    <dc:creator>AlwinHekker</dc:creator>
    <dc:date>2010-03-02T08:23:36Z</dc:date>
    <item>
      <title>export a step file with weblink</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/export-a-step-file-with-weblink/m-p/222899#M48445</link>
      <description>Who can help me im trying to export a STEP filewith weblink in wf 3.0. But when i use this function it's given me an error like [object type]. function ExportSTP(model){try{var exportflag = new pfcCreate ("pfcGeometryFlags").Create();var modelexport = new pfcCreate("pfcAssemblyConfiguration").EXPORT_ASM_SINGLE_FILE;exportflag.AsSolids</description>
      <pubDate>Sun, 13 Dec 2020 04:13:11 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/export-a-step-file-with-weblink/m-p/222899#M48445</guid>
      <dc:creator>AlwinHekker</dc:creator>
      <dc:date>2020-12-13T04:13:11Z</dc:date>
    </item>
    <item>
      <title>RE: export a step file with weblink</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/export-a-step-file-with-weblink/m-p/222900#M48446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;gt; Who can help me im trying to export a STEP file with weblink in wf 3.0. &lt;BR /&gt;&amp;gt; But when i use this function it's given me an error like [object type]. &lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; var naam = model + ".stp";&lt;BR /&gt;&amp;gt; CurModel.Export(naam, STPexport); &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I think one or both of the above lines are going to give you problems. &lt;/P&gt;&lt;P&gt;The first of the two should probably look like this:&lt;BR /&gt; var naam = model.FullName + ".stp";&lt;/P&gt;&lt;P&gt;The second should perhaps look like this?:&lt;BR /&gt; model.Export(naam, STPexport); &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I don't see where you have defined CurModel.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Marc&lt;BR /&gt;--&lt;BR /&gt;Marc Mettes&lt;BR /&gt;&lt;A href="mailto:-" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;SPAN style="color: #0000ff; "&gt;-&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;Visit My &lt;A href="http://inversionconsulting.blogspot.com/" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;SPAN style="color: #0000ff; "&gt;CAD/PDM AutomationBlog&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;Or, &lt;A href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=1806867&amp;amp;loc=en_US" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;SPAN style="color: #0000ff; "&gt;Subscribe to My CAD/PDM Automation Blog by Email&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 16:45:25 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/export-a-step-file-with-weblink/m-p/222900#M48446</guid>
      <dc:creator>MarcMettes</dc:creator>
      <dc:date>2017-10-26T16:45:25Z</dc:date>
    </item>
    <item>
      <title>RE: export a step file with weblink</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/export-a-step-file-with-weblink/m-p/222901#M48447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see. I've added theglobalconnection. and changed the model to just a loaded part. But it still gives me an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function ExportSTP(){&lt;BR /&gt;&lt;BR /&gt;try&lt;BR /&gt;{&lt;BR /&gt;var mGlob = pfcCreate("MpfcCOMGlobal");&lt;BR /&gt;var oSession = mGlob.GetProESession();&lt;BR /&gt;var CurModel = oSession.CurrentModel;&lt;BR /&gt;var exportflag = new pfcCreate ("pfcGeometryFlags").Create();&lt;BR /&gt;var modelexport = new pfcCreate("pfcAssemblyConfiguration").EXPORT_ASM_SINGLE_FILE;&lt;BR /&gt;&lt;BR /&gt;exportflag.AsSolids = true; &lt;BR /&gt;exportflag.AsQuilts = true; &lt;/P&gt;&lt;P&gt;var STPexport = new pfcCreate("pfcSTEP3DExportInstructions").Create(modelexport, exportflag);&lt;BR /&gt;CurModel.Export("test.stp", STPexport);&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;}catch(err){&lt;BR /&gt;alert("Kan tekening niet Exporteren naar STP reden: " +err );&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Mar 2010 08:23:36 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/export-a-step-file-with-weblink/m-p/222901#M48447</guid>
      <dc:creator>AlwinHekker</dc:creator>
      <dc:date>2010-03-02T08:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: export a step file with weblink</title>
      <link>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/export-a-step-file-with-weblink/m-p/222902#M48448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was Your problem solved in the meantime?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 17:00:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/3D-Part-Assembly-Design/export-a-step-file-with-weblink/m-p/222902#M48448</guid>
      <dc:creator>Mat</dc:creator>
      <dc:date>2016-02-26T17:00:26Z</dc:date>
    </item>
  </channel>
</rss>

