Tuesday, February 07, 2012
FamilyMembers Panel problem (refreshing)
Last Post 24 Aug 2010 03:47 PM by peter6396. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
peter6396User is Offline
New Member
New Member
Posts:7

--
20 Aug 2010 04:12 AM  

Hallo, when I use in my macro the following commands

 

objAsm.AssemblyFamilyMembers.GlobalEditMode = False 'changing edit mode

 

or

 

objAsm.AssemblyFamilyMembers.ActivateMember(sFamilyMember) 'changing Family Member

 

in Solid Edge ST2, the FamilyMembers panel not refreshing, only the graphic window and the occurence tree panel is refreshing. After closing my macro, there is a mismatch between the two panels (and grafic window).

 

Can anyone help?

Thank you!

P.S.

 

It is possible that the panel names others, I use hungarian version.

 

ErWoUser is Offline
New Member
New Member
Posts:37

--
24 Aug 2010 01:28 AM  
Peter,

You could try this;

'Update All Links
objApp.StartCommand (40236) 'is update all links

'Update the Assembly
objAsm.UpdateStructureCache seUseOpenDocuments
objAsm.UpdateStructureCache seWalkFilesOnDisk
objAsm.UpdateDocument
objAsm.UpdatePathfinder seUpdate
objAsm.UpdatePathfinder seRebuild
objAsm.UpDateAll
peter6396User is Offline
New Member
New Member
Posts:7

--
24 Aug 2010 03:47 PM  

Thanks ErWo, but not work in my case. My modell is already updated.

The problem is that the "FamilyMember Tab" show not the active FamilyMember, if I change in my macro the active family member. For example, FamilyMember variables, which shows, are not variables of the active FamilyMember.

This is a Solid Edge ST2 error, in my opinion.

You are not authorized to post a reply.

Active Forums 4.2
Copyright © 2011 JasonNewell.NET