<?xml version="1.0" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cf="http://www.microsoft.com/schemas/rss/core/2005" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">

	<channel>
		<title>JasonNewell.NET</title>
		<link>www.jasonnewell.net</link>
		<description>JasonNewell.NET</description>
		<language>en-US</language>
		<copyright>Copyright 2010 JasonNewell.NET</copyright>
		<webMaster>noreply@jasonnewell.net</webMaster>
		<item>
			<title>RE: Solid edge reports using an excel macro ?</title>
			<description>&lt;p&gt;Source with attachment&lt;/p&gt;
&lt;pre&gt;' Add reference to &quot;Solid Edge Install Data Type Library (SEInstallData.dll)&quot;
' Add reference to &quot;Windows Scripting Host Object Model&quot;

Sub Demo()
    Call OpenInReport(&quot;C:\Program Files (x86)\Solid Edge ST3\Training\Coffee Pot.asm&quot;)
End Sub

Sub OpenInReport(strFile As String)
    Dim objInstallData As SEInstallDataLib.SEInstallData
    Dim objFSO As IWshRuntimeLibrary.FileSystemObject
    Dim objShell As IWshRuntimeLibrary.wshShell
    Dim strInstallPath As String
    Dim strReportPath As String
    Dim strCommand As String
    
    Set objFSO = New IWshRuntimeLibrary.FileSystemObject

    Set objInstallData = New SEInstallData
    Set objFSO = New IWshRuntimeLibrary.FileSystemObject
    Set objShell = New IWshRuntimeLibrary.wshShell
    
    strInstallPath = objInstallData.GetInstalledPath
    strReportPath = objFSO.BuildPath(strInstallPath, &quot;report.exe&quot;)
    strCommand = &quot;&quot;&quot;&quot; &amp;amp; strReportPath &amp;amp; &quot;&quot;&quot; &quot;&quot;&quot; &amp;amp; strFile &amp;amp; &quot;&quot;&quot;&quot; ' God I hate VB!
    objShell.Run strCommand

    Set objFSO = Nothing
    Set objShell = Nothing
    Set objInstallData = Nothing
End Sub&lt;/pre&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4250/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4250/view/topic/Default.aspx</comments>
			<author>Jason Newell</author>
			<pubDate>Tue, 07 Sep 2010 09:49:22 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>Creating StructuralFrame - SE20, VB6</title>
			<description>&lt;p&gt;I have following code:&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; Set structFrames = asmDoc.StructuralFrames&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;Dim reqPaths(1 To 2) As Object&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; Set reqPaths(1) = linSeg1&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; Set reqPaths(2) = linSeg2&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; Dim noOfPaths As Long&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; noOfPaths = 2&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; Set structFrame = structFrames.Add(&quot;c:\x.par&quot;, noOfPaths, reqPaths) ' Error here&lt;/p&gt;
&lt;p&gt;I have been struggling more than 6 hours to overcome the error 'Run Time error '5' - Invalid Procedure call or atgument'. Tried every variation. Searched help. Searched internet. But without success.&lt;/p&gt;
&lt;p&gt;Please help me.&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4251/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4251/view/topic/Default.aspx</comments>
			<author>NV</author>
			<pubDate>Tue, 07 Sep 2010 09:27:27 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>Solid edge reports using an excel macro ?</title>
			<description>&lt;p&gt;Is there a code that can be used in an excel macro that will carry out the equivalent of the user(s) selecting a solid edge assembly file..(.asm) then right click with a mouse, and then selecting the command &quot;report&quot; ?&lt;/p&gt;
&lt;p&gt;Thanks in anticipation&lt;/p&gt;
&lt;p&gt;Nodski&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4250/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4250/view/topic/Default.aspx</comments>
			<author>Nodski</author>
			<pubDate>Mon, 06 Sep 2010 17:02:31 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>RE: Remove unused Linestyles</title>
			<description>I think this is a LinearStyle Object  &lt;br&gt; DrafDokument -&gt; LinearStyles -&gt; LinearStyle</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4248/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4248/view/topic/Default.aspx</comments>
			<author>JR</author>
			<pubDate>Fri, 03 Sep 2010 07:45:27 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>Remove unused Linestyles</title>
			<description>&lt;p&gt;In a batch that I downloaded RemDimSts.exe, the program is able to remove unused TextStyles, FillStyles, Hatchstyles and Dimstyles. I would like to add LineStyles as well, but can not figure out what the object property string is that I need to add to the program. I am a newbie to this, so any help ould be appreciated.&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4248/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4248/view/topic/Default.aspx</comments>
			<author>kmwolf</author>
			<pubDate>Thu, 02 Sep 2010 13:25:48 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>How to read block in a dft file without opening the dft file?</title>
			<description>&lt;p&gt;Dear all, I want to use the block which is contained in a draft file. And I won't open the draft file. Just like user drag a block from block library to a draft file in interactive environment. Any program language is OK! Thanks!&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4247/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4247/view/topic/Default.aspx</comments>
			<author>assassin</author>
			<pubDate>Thu, 02 Sep 2010 09:02:06 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>Inquire Element - Measure Diameter by VBA</title>
			<description>&lt;p&gt;Hi, we have adaptive part with adaptive Inner and outer diameter. Measure values for&amp;#160; this during placing into assembly isn't easy. We tryed made macro working this way:&lt;/p&gt;
&lt;p&gt;1) select daptive part by mouse&lt;/p&gt;
&lt;p&gt;2) run macro on slected part (adaptive part in selecset)&lt;/p&gt;
&lt;p&gt;3) show/pick diameter on another part (Eg. shaft) in assembly, measure it by VBA. &lt;strong&gt;- How we can choose part/diameter and grab the diameter? (we need sometning like &quot;objApp.StartCommand 25072&quot; and grab Diameter results)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;4) show/pick another diameter on another part (Eg. bore) in assembly, measure it by VBA - same problem like in point 3&lt;/p&gt;
&lt;p&gt;5) use measured values for update adaptive part - no problem (Call ObjAdjustablePart.SetAdjustables.....)&lt;/p&gt;
&lt;p&gt;Do somebody have idea how we can try it? Thank you! &lt;img src=&quot;/DesktopModules/NTForums/themes/blue/emoticons/smile.gif&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4246/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4246/view/topic/Default.aspx</comments>
			<author>JM</author>
			<pubDate>Thu, 02 Sep 2010 06:40:56 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>dissolve Reference to SubASM - how to??</title>
			<description>&lt;p&gt;AnyOne tried to dissolve a Reference?&lt;/p&gt;
&lt;p&gt;I made it it works for the first level...&lt;/p&gt;
&lt;p&gt;But I've got the problem with References to SubAsm-Parts - don't know how to dissolve it...&lt;/p&gt;
&lt;p&gt;see the snippet below,&amp;#160; I only get the SubAsm as an Occurrence, but not the Part the relation is related to&lt;/p&gt;
&lt;p&gt;I know that references are there - for each hierarchical level - , but how to find the right next step reference ?&lt;/p&gt;
&lt;p&gt;thx for any hint so that I can search in the right corner, too&lt;/p&gt;
&lt;hr width=&quot;100%&quot; size=&quot;2&quot; /&gt;
&lt;p&gt;Dim Relations As SolidEdgeAssembly.Relations3d&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Relations = Occurrence.Relations3d()&lt;br /&gt;
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; For Each rel As Object In Relations&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If rel.type = SolidEdgeConstants.ObjectType.igPlanarRelation3d Then&lt;/p&gt;
&lt;p&gt;[..]&lt;/p&gt;
&lt;p&gt;&amp;#160; Dim PlanarRelation3d As SolidEdgeAssembly.PlanarRelation3d = rel&lt;br /&gt;
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim ref1 As SolidEdgeFramework.Reference&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim ref2 As SolidEdgeFramework.Reference&lt;br /&gt;
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim Occ1 As SolidEdgeAssembly.Occurrence&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim Occ2 As SolidEdgeAssembly.Occurrence&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim RefItem1 As Object&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ' RefPlane or Face / SolidEdgePart.RefPlane&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim RefItem2 As Object '&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &quot; / &quot;&amp;#160;&amp;#160; or SolidEdgeAssembly.AsmRefPlane&lt;br /&gt;
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If rel.GetElement1(True).type = SolidEdgeConstants.ObjectType.igReference Then&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ref1 = rel.GetElement1(True)&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Occ1 = PlanarRelation3d.Occurrence1&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; RefItem1 = ref1.Object&amp;#160;&amp;#160;&amp;#160;&amp;#160; [...]&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End If&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If&amp;#160; ...&amp;#160; 'also with GetElement2&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4245/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4245/view/topic/Default.aspx</comments>
			<author>solid81</author>
			<pubDate>Thu, 02 Sep 2010 02:23:19 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>RE: Using Insight on a 64 bit Computer</title>
			<description>&lt;p&gt;I can not get web folders to set up. Any ideas?&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/2/postid/4243/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/2/postid/4243/view/topic/Default.aspx</comments>
			<author>Atom</author>
			<pubDate>Tue, 31 Aug 2010 07:47:05 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>Using Insight on a 64 bit Computer</title>
			<description>&lt;p&gt;Anyone running Solid Edge V19 using Insight on a 64 bit computer?&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/2/postid/4243/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/2/postid/4243/view/topic/Default.aspx</comments>
			<author>Atom</author>
			<pubDate>Mon, 30 Aug 2010 15:06:40 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>RE: File Properties using VB.NET leave file locked</title>
			<description>Yes! This works like a charm.  Thanks for the expert advice.</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4240/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4240/view/topic/Default.aspx</comments>
			<author>Bizare</author>
			<pubDate>Mon, 30 Aug 2010 09:57:18 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>RE: File Properties using VB.NET leave file locked</title>
			<description>&lt;p&gt;after reading the properties you must ever start Garbage Collection:&amp;#160;&lt;br /&gt;
&amp;#160;&amp;#160; .....&lt;br /&gt;
&amp;#160; GC.Collect() &lt;br /&gt;
&amp;#160; GC.WaitForPendingFinalizers() &lt;br /&gt;
&amp;#160; GC.Collect() &lt;br /&gt;
&amp;#160; GC.WaitForPendingFinalizers() &lt;br /&gt;
End Function&lt;br /&gt;
&lt;br /&gt;
The GC needs to be called twice in order to get the finalizers called - &lt;br /&gt;
the first time: it simply makes a list of what is to be finalized, &lt;br /&gt;
the second time: it actually the finalizing. &lt;br /&gt;
Only then will the object do it automatic ReleaseComObject.&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4240/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4240/view/topic/Default.aspx</comments>
			<author>JR</author>
			<pubDate>Mon, 30 Aug 2010 03:20:06 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>File Properties using VB.NET leave file locked</title>
			<description>&lt;p&gt;I am converting code from VB6 to VB.net whose purpose is to access file properties.&amp;#160; In VB6, it works just fine.&lt;br /&gt;
But in VB.NET, the propertysets.CLOSE() function does not seem to release the file.&amp;#160; At any rate, the SECOND time&lt;br /&gt;
&amp;#160;I call the function (on the same file), it fails at the point indicated below.&amp;#160; Once the program exits, the file&lt;br /&gt;
&amp;#160;is released.&amp;#160; Then I can re-run the code, calling pTEST successfully the first time, but not the second time.&lt;/p&gt;
&lt;p&gt;Any ideas how to make vb.net reliable access file properties?&lt;/p&gt;
&lt;p&gt;SE version 20&lt;/p&gt;
&lt;p&gt;I call pTEST like this:&lt;br /&gt;
sTest = pTEST(&quot;C:\drawingfiles\amaxdeck\A20000015.asm&quot;, &quot;Title&quot;, &quot;SummaryInformation&quot;) 'succeeds first time&lt;br /&gt;
sTest = pTEST(&quot;C:\drawingfiles\amaxdeck\A20000015.asm&quot;, &quot;Title&quot;, &quot;SummaryInformation&quot;) 'vb6 OK; vb.NET fails&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
*** VB6 version *** work fine every time.&lt;br /&gt;
Public Function pTEST(ByRef FileWithProp As String, ByRef pKey As String, ByRef pGroup As String) As String&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; 'Solid Edge V20&amp;#160; VB6&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; 'FileWithProp = &quot;C:\drawingfiles\amaxdeck\A20000015.asm&quot; pKey = &quot;Title&quot; pGroup = &quot;SummaryInformation&quot;&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; Dim fPropSets As SolidEdgeFileProperties.PropertySets&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'PropertySets - for files not open&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; Dim fProp As Object&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'Properties - for files not open&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; Dim ObjProp As Object&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'SolidEdgeFramework.Properties&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; Dim sPropTest As String&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; Set fPropSets = CreateObject(&quot;SolidEdge.FileProperties&quot;)&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; fPropSets.Open FileWithProp&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; Set fProp = fPropSets(pGroup)&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; pTEST = fProp(pKey).value&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; If Not (fProp Is Nothing) Then&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Set fProp = Nothing&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; End If&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; If Not (fPropSets Is Nothing) Then&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; fPropSets.Close&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Set fPropSets = Nothing&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; End If&lt;br /&gt;
End Function&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
*** vb.net version *** works right the first time, but fails the second time called for the same file.&lt;br /&gt;
&amp;#160;&amp;#160; Public Function pTEST(ByRef FileWithProp As String, ByRef pKey As String, ByRef pGroup As String) As String&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'return the fileproperty pKey in group pGroup in file FileWithProp&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'FileWithProp = &quot;C:\drawingfiles\amaxdeck\A20000015.asm&quot;&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ' pKey = &quot;Title&quot; pGroup&amp;#160; = &quot;SummaryInformation&quot;&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'SolidEdge V20&amp;#160; vb.net 2010 Express&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim fPropSets As Object ' SolidEdgeFileProperties.PropertySets&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim fProp As Object&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'Properties - for files not open&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim sPropTest As String = &quot;&quot;&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; fPropSets = CreateObject(&quot;SolidEdge.FileProperties&quot;)&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; fPropSets.Open(FileWithProp)&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'code fails here the second time called with the same file!!!!!!!&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; fProp = fPropSets(pGroup)&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; pTEST = fProp(pKey).value&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If Not (fProp Is Nothing) Then&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Runtime.InteropServices.Marshal.ReleaseComObject(fProp)&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; fProp = Nothing&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End If&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If Not (fPropSets Is Nothing) Then&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; fPropSets.Close()&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'This seems like it should close and release the file, but it does not!!!&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Runtime.InteropServices.Marshal.ReleaseComObject(fPropSets)&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; fPropSets = Nothing&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End If&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; End Function&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4240/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4240/view/topic/Default.aspx</comments>
			<author>Bizare</author>
			<pubDate>Fri, 27 Aug 2010 16:36:12 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>RE: XLS link to the part</title>
			<description>Yep, thats a real pain.  You have to re-establish a link to that file before you can properly delete it.   &lt;br&gt; Try this: &lt;br&gt;  &lt;br&gt; make sure the specified file exists.  IF not, you could use Rev Mgr to point to a new XLS file. &lt;br&gt; create a dummy variable in the variable table of your model &lt;br&gt; Open the spreadsheet, highlight a cell, and CTRL-C &lt;br&gt; move back to your model, in the variable table in Formula, right-click paste link &lt;br&gt; right click (any field of any variable) - Edit Links (opens the Links dialog) &lt;br&gt; hightlight the Excel source file - click Break Link - Click Yes &lt;br&gt; Delete the dummy variable. &lt;br&gt;  &lt;br&gt; I might have a few details wrong, but I know this will work, because I've done it on hundreds of files. &lt;br&gt; Good luck.</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4220/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4220/view/topic/Default.aspx</comments>
			<author>Bizare</author>
			<pubDate>Fri, 27 Aug 2010 16:11:18 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>RE: Save As for each view -- how 2 wait for SE !</title>
			<description>&lt;p&gt;Hi, &lt;br /&gt;
&lt;br /&gt;
the Idea of ErWo is good. But you can do this without events, like this: &lt;br /&gt;
&lt;br /&gt;
Dim test As String = SE_App.ActiveEnvironment &lt;br /&gt;
Do While test &lt;&gt; &quot;DrawingViewEdit&quot; 'was the environment changed? &lt;br /&gt;
test = SE_App.ActiveEnvironment &lt;br /&gt;
Loop &lt;br /&gt;
&lt;br /&gt;
and after closeView (window): &lt;br /&gt;
&lt;br /&gt;
Do While test &lt;&gt; &quot;Detail&quot; 'back? &lt;br /&gt;
test = SE_App.ActiveEnvironment &lt;br /&gt;
Loop&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4230/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4230/view/topic/Default.aspx</comments>
			<author>JR</author>
			<pubDate>Fri, 27 Aug 2010 03:27:15 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>vb6 se20 - solid edge Part - Hole size</title>
			<description>&lt;p&gt;hi-&lt;/p&gt;
&lt;p&gt;(1ea Hole Circle in Sketch)&amp;#160;of Holedata(vb)&amp;#160; And&amp;#160;( 2ea(many) Hole Circle in Sketch)&amp;#160;of Holedata(vb)&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;are&amp;#160; different&lt;/p&gt;
&lt;p&gt;&amp;#160;how to size of&amp;#160; the hole(thread)&amp;#160; was created&amp;#160; in part&amp;#160; ?&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4237/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4237/view/topic/Default.aspx</comments>
			<author>lim jong hwa</author>
			<pubDate>Thu, 26 Aug 2010 21:42:17 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>vb6 se20 - how to Drawing View Depth</title>
			<description>&lt;p&gt;Hi-&lt;/p&gt;
&lt;p&gt;i can't&amp;#160; find&amp;#160;object (Set Drawing View Depth-dft)&lt;/p&gt;
&lt;p&gt;where is it?&lt;/p&gt;
&lt;p&gt;Please answer me&lt;/p&gt;
&lt;p&gt;use VB6,se20&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4236/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4236/view/topic/Default.aspx</comments>
			<author>lim jong hwa</author>
			<pubDate>Thu, 26 Aug 2010 21:24:18 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>RE: Problem while getting the objects using &amp;quot;SelectSet&amp;quot; property.</title>
			<description>Hi, &lt;br&gt;  &lt;br&gt; by selection the type of objects on the first level in an assembly are &quot;Ocurrences&quot;, but from second level are the selected objects &quot;References&quot; &lt;br&gt;  &lt;br&gt; try for reference: &lt;br&gt; objOccur = (SolidEdgeAssembly.Occurrence)objSelection.object &lt;br&gt;  &lt;br&gt; </description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4227/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4227/view/topic/Default.aspx</comments>
			<author>JR</author>
			<pubDate>Thu, 26 Aug 2010 07:35:53 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>RE: About the &amp;quot;Callout&amp;quot;!</title>
			<description>Thanks, Danisan!</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4219/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4219/view/topic/Default.aspx</comments>
			<author>fatkids</author>
			<pubDate>Thu, 26 Aug 2010 03:42:37 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>RE: Save As for each view -- how 2 wait for SE !</title>
			<description>You could try to use Events. &lt;br&gt;  &lt;br&gt; Try to find out (using Solid Egde Spy) which events are fired, and when. If one of this events is usefull to you, you can use this to set for instance a pulic Boolean. In your code you check this Boolean (via a do-while or so), and if the Boolean is set to true by the event your code can continue. &lt;br&gt;  &lt;br&gt; You can read about working with events in the SE programming guide.  &lt;br&gt;  &lt;br&gt; Good luck</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4230/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4230/view/topic/Default.aspx</comments>
			<author>ErWo</author>
			<pubDate>Wed, 25 Aug 2010 03:28:50 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>RE:  help to transfer C# codes as following to C++ codes?</title>
			<description>Somebody can help me? &lt;br&gt;  &lt;br&gt; I have to add a ATL simple object to the project to listening the application event Now. But I want to realize the function with simple C++ codes. Not MFC. &lt;br&gt;  &lt;br&gt; Please help me, thanks!</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4228/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4228/view/topic/Default.aspx</comments>
			<author>assassin</author>
			<pubDate>Tue, 24 Aug 2010 22:12:54 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>RE: FamilyMembers Panel problem (refreshing)</title>
			<description>&lt;p&gt;Thanks ErWo, but not work in my case. My modell is already updated.&lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;medium_text&quot; id=&quot;result_box&quot;&gt;&lt;span title=&quot;&quot; style=&quot;&quot;&gt;The problem is that the &quot;FamilyMember Tab&quot; show not the active FamilyMember, if I change in my macro the active family member. &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot;&gt;&lt;span title=&quot;&quot; style=&quot;&quot;&gt;For example, FamilyMember variables, &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot;&gt;&lt;span title=&quot;&quot; style=&quot;&quot;&gt;which shows, are not &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot;&gt;&lt;span title=&quot;&quot; style=&quot;&quot;&gt;variables of&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot;&gt;&lt;span title=&quot;&quot; style=&quot;&quot;&gt; the active FamilyMember. &lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot;&gt;&lt;span title=&quot;&quot; style=&quot;&quot;&gt;This is a Solid Edge ST2 error, &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot;&gt;&lt;span title=&quot;&quot; style=&quot;&quot;&gt;in my opinion.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4226/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4226/view/topic/Default.aspx</comments>
			<author>peter6396</author>
			<pubDate>Tue, 24 Aug 2010 15:47:14 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>Save As for each view -- how 2 wait for SE !</title>
			<description>&lt;p&gt;One Big Problem, googled, searched in forum - nothing found !&lt;/p&gt;
&lt;p&gt;I'd like to save each drawing view with the &quot;saveas&quot; method to iges,&lt;/p&gt;
&lt;p&gt;it works if I make a breakpoint on save as !!!, because SE needs some time to open the view&lt;/p&gt;
&lt;p&gt;with the StartCommand, (haven't found any mathod for opening the view into viewedit).&lt;/p&gt;
&lt;p&gt;So how can i find out SE is busy?&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;Dim views As SolidEdgeDraft.DrawingViews = DraftDoc.ActiveSheet.DrawingViews&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; For i As Integer = 1 To views.Count&lt;br /&gt;
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim view As SolidEdgeDraft.DrawingView = views.Item(i)&lt;br /&gt;
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim NewFullName As String = IgesPath &amp;amp; FileName &amp;amp; &quot;_&quot; &amp;amp; i &amp;amp; &quot;.igs&quot;&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; If System.IO.File.Exists(NewFullName) = True Then&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; System.IO.File.Delete(NewFullName)&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; End If&lt;br /&gt;
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Dim ActiveWindowName As String = SE_App.ActiveWindow.Caption&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'OpenView&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; view.Select()&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; SE_App.StartCommand(40037)&lt;br /&gt;
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'SE fnished??&lt;br /&gt;
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'Save Iges&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; DraftDoc.SaveAs(NewFullName) 'BREAK&lt;br /&gt;
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 'CloseView&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; SE_App.ActiveWindow.close()&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; DraftDoc.SelectSet.RemoveAll()&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Next&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4230/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4230/view/topic/Default.aspx</comments>
			<author>solid81</author>
			<pubDate>Tue, 24 Aug 2010 04:09:07 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>RE: FamilyMembers Panel problem (refreshing)</title>
			<description>Peter, &lt;br&gt;  &lt;br&gt; You could try this; &lt;br&gt;  &lt;br&gt; 'Update All Links &lt;br&gt; objApp.StartCommand (40236) 'is update all links &lt;br&gt;  &lt;br&gt; 'Update the Assembly &lt;br&gt; objAsm.UpdateStructureCache seUseOpenDocuments &lt;br&gt; objAsm.UpdateStructureCache seWalkFilesOnDisk &lt;br&gt; objAsm.UpdateDocument &lt;br&gt; objAsm.UpdatePathfinder seUpdate &lt;br&gt; objAsm.UpdatePathfinder seRebuild &lt;br&gt; objAsm.UpDateAll</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4226/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4226/view/topic/Default.aspx</comments>
			<author>ErWo</author>
			<pubDate>Tue, 24 Aug 2010 01:28:27 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title> help to transfer C# codes as following to C++ codes?</title>
			<description>&lt;p&gt;Dear Jason, please help me to transfer c# codes of Application Events to c++ codes? Thanks!&lt;/p&gt;
&lt;p&gt;using System;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
using System.Runtime.InteropServices;&lt;/p&gt;
&lt;p&gt;namespace AppEventsCSharp&lt;br /&gt;
{&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; public partial class Form1 : Form&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; {&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; private SolidEdgeFramework.Application SEApp ;&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; private SolidEdgeFramework.ISEApplicationEvents_Event AppEvents;&lt;br /&gt;
&amp;#160;&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; public Form1()&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; InitializeComponent();&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; private void Form1_Load(object sender, EventArgs e)&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; SEApp = Marshal.GetActiveObject(&quot;SolidEdge.Application&quot;)&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; as SolidEdgeFramework.Application;&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; AppEvents = (SolidEdgeFramework.ISEApplicationEvents_Event)SEApp.ApplicationEvents;&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; AppEvents.BeforeCommandRun+=new SolidEdgeFramework.ISEApplicationEvents_BeforeCommandRunEventHandler(AppEvents_BeforeCommandRun);&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; void AppEvents_BeforeCommandRun(int theCommandID)&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; { MessageBox.Show(&quot;Command will run!&quot;); }&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; }&lt;br /&gt;
}&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4228/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4228/view/topic/Default.aspx</comments>
			<author>assassin</author>
			<pubDate>Mon, 23 Aug 2010 22:34:01 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>Problem while getting the objects using &quot;SelectSet&quot; property.</title>
			<description>&lt;p&gt;I have an SolidEdge Assembly which is having an one more assembly in it .i.e assembly having a subassembly.&lt;/p&gt;
&lt;p&gt;I am opening this assembly in Solidedge ST version application.&lt;/p&gt;
&lt;p&gt;Then I am selecting some parts from MainAssembly and then some parts from its subassembly from path finder window , treeview.&lt;/p&gt;
&lt;p&gt;Then , I am reading these&amp;#160;selections&amp;#160; using &lt;strong&gt;&quot;SelectSet&lt;/strong&gt;&quot; property&amp;#160; API on the main assembly&lt;/p&gt;
&lt;p&gt;I am getting the currect&amp;#160; total count of selected part form &lt;strong&gt;SelectSet&lt;/strong&gt; property&amp;#160;&lt;/p&gt;
&lt;p&gt;But while reading and converting the objects in &quot;SeletionSet', I am successful in converting the objects of main assembly parts &amp;#160;only and while converting the objects of parts which are selected from subassembly, program&amp;#160;does not able to convert these objects in any type of Solidedge document type.&lt;/p&gt;
&lt;p&gt;So, please give me the information about , how I can access these parts which are selected from the subassembly using &lt;strong&gt;'SelectSet'&lt;/strong&gt; API.&lt;/p&gt;
&lt;p&gt;For reference ,Code&amp;#160; was written&amp;#160; as follows.&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot;&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#2b91af&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#2b91af&quot; size=&quot;2&quot;&gt;AssemblyDocument&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;)objApp.ActiveDocument;&lt;/font&gt;&lt;font color=&quot;#2b91af&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#2b91af&quot; size=&quot;2&quot;&gt;Occurrence&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; objOccur = &lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;null&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;for&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; (&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;int&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; n = 1; n &lt;= objSelectedSet.Count; n++)&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;try&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;objOccur = (SolidEdgeAssembly.&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;/font&gt;&lt;font color=&quot;#2b91af&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#2b91af&quot; size=&quot;2&quot;&gt;Occurrence&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt;)objSelection; &lt;strong&gt;//Gives error while loops for object of subassembly parts in main assembly.&lt;/strong&gt;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;catch&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; (&lt;/font&gt;&lt;font color=&quot;#2b91af&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#2b91af&quot; size=&quot;2&quot;&gt;Exception&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; ex)&lt;/font&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;&lt;font color=&quot;#0000ff&quot; size=&quot;2&quot;&gt;throw&lt;/font&gt;&lt;/font&gt;&lt;font size=&quot;2&quot;&gt; ex;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;objAsmDoc = (SolidEdgeAssembly.&lt;/p&gt;
&lt;p&gt;objAsmOccurrences = objAsmDoc.Occurrences;&lt;/p&gt;
&lt;p&gt;objSelectedSet = objAsmDoc.SelectSet;&lt;/p&gt;
&lt;p&gt;SolidEdgeAssembly.&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;objSelection = objSelectedSet.Item(n);&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4227/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4227/view/topic/Default.aspx</comments>
			<author>pthorat</author>
			<pubDate>Sun, 22 Aug 2010 07:59:31 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>FamilyMembers Panel problem (refreshing)</title>
			<description>&lt;p&gt;Hallo, when I use in my macro the following commands&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;objAsm.AssemblyFamilyMembers.GlobalEditMode = False 'changing edit mode&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;objAsm.AssemblyFamilyMembers.ActivateMember(sFamilyMember) 'changing Family Member&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;in Solid Edge ST2, the FamilyMembers panel not refreshing, only the graphic window and the occurence tree panel is refreshing. After closing my macro, &lt;span class=&quot;short_text&quot; id=&quot;result_box&quot;&gt;&lt;span title=&quot;&quot; style=&quot;&quot;&gt;there is a mismatch between the two panels (and grafic window).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;Can anyone help?&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;P.S.&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot;&gt;&lt;span title=&quot;&quot; style=&quot;&quot;&gt;It is possible that the panel names others, I use hungarian version.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4226/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4226/view/topic/Default.aspx</comments>
			<author>peter6396</author>
			<pubDate>Fri, 20 Aug 2010 04:12:32 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>RE: AddLoftedFlange in SheetMetal</title>
			<description>Could somebody please provide me with a complete example of Curt's previous post.  I'm hung up on his &quot;'Assume that the file contains two cross section sketches&quot; comment.  I need this example but I also need it to create all of the necessary objects via code rather than assuming that a file is open. &lt;br&gt;  &lt;br&gt; Can anyone please help?  I'm working on the SDK and need a good example.  Please and thank you!</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/3161/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/3161/view/topic/Default.aspx</comments>
			<author>Jason Newell</author>
			<pubDate>Thu, 19 Aug 2010 04:33:56 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>RE: PartList Positioning</title>
			<description>&lt;p&gt;Thomas, &lt;br /&gt;
&lt;br /&gt;
I've got two ideas; &lt;br /&gt;
&lt;br /&gt;
Have you investigated the possibility of editing C:\Program Files\Solid Edge ST2\Template\Reports\Draftlist.txt. Just figger out where in this textfile the start location is saved, and edit these values (via your application). &lt;br /&gt;
After that reload the saved settings via the code you've given above? &lt;br /&gt;
&lt;br /&gt;
An other option is to copy the content op the partslist on the clipboard (partslist.copytoclipboard method), and then load it from the clipboard into a normal SE table. For a normal SE table you CAN set it's origin. &lt;br /&gt;
&lt;br /&gt;
Good luck.&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4207/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/4207/view/topic/Default.aspx</comments>
			<author>ErWo</author>
			<pubDate>Thu, 19 Aug 2010 02:10:16 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>RE: Alternate Assemblies</title>
			<description>&lt;p&gt;Hello, in hungarian ST2 version work this to find active member of AssemblyFamily:&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; ...&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; Dim sFilename As String&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; Dim i As Long&lt;br /&gt;
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; sFilename = Trim(objApp.ActiveWindow.Caption)&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; sMemberName = vbNullString&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; i = InStrRev(sFilename, &quot;!&quot;, -1, vbTextCompare)&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; sMemberName = Mid(sFilename, i + 1)&amp;#160;&amp;#160;&amp;#160; ' isolate member&lt;br /&gt;
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; If Strings.Right(sMemberName, 16) = &quot;][Csak olvashat&#243;&quot; Then&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; sMemberName = Strings.Left(sMemberName, Len(sMemberName) - 16)&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; End If&lt;/p&gt;
&lt;p&gt;In english version work?:&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; ...&lt;/p&gt;
&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; Dim sFilename As String&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; Dim i As Long&lt;br /&gt;
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; sFilename = Trim(objApp.ActiveWindow.Caption)&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; sMemberName = vbNullString&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; i = InStrRev(sFilename, &quot;!&quot;, -1, vbTextCompare)&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; sMemberName = Mid(sFilename, i + 1)&amp;#160;&amp;#160;&amp;#160; ' isolate member&lt;br /&gt;
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; If Strings.Right(sMemberName, 11) = &quot;][Read only&quot; Then&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; sMemberName = Strings.Left(sMemberName, Len(sMemberName) - 11)&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; End If&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;Sorry for bad english.&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;Peter&lt;/p&gt;</description>
			<link>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/1950/view/topic/Default.aspx</link>
			<comments>http://www.jasonnewell.net/Forums/tabid/55/forumid/1/postid/1950/view/topic/Default.aspx</comments>
			<author>peter6396</author>
			<pubDate>Wed, 18 Aug 2010 16:54:57 GMT</pubDate>
			<slash:comments>0</slash:comments>
		</item>
	</channel></rss>