Reply

How to get active member in Assembly Family?

[ Edited ]

Hi!

 

I need to programmatically determine active member in Assembly Family. Does anybody know how to do it?

 

Posted by: Walker
Post date: 7/3/2012 5:41:59 AM

1 REPLY

Re: How to get active member in Assembly Family?

[ Edited ]

Walker,

 

Look at the DisplayName property on the ActiveDocument object (assuming it's an AssemblyDocument). The text after the '!' is the name of the active member. For example, you'll get "my_asm_family.asm!Member 1".

 

-Jay

 

Posted by: Jay Carlton
Post date: 7/13/2012 9:20:49 AM