Hi
I've got a macro that fills in the Title block of a draft automatially, but some of the text is to long to fit in the desired area in the title block. How do you change the font size via code to get around this issue. I don't want to change the attached Text Style as i don't have any smaller...
Hi Don
Call objAsm.AssemblyFamilyMembers.ActivateMember("Member2")
You still need to know the "Member2" name before you can call it. This is the issue i have now, which is to get the currently active members name so i can push it in to the Assemblies file prop's Custom Part name field.
Cheers...
Hi Don
What i'm doing is i have written a few macro's that automatically fill out the custom prop's. One on them fills out the part name witch is the active part name (Less the file path). But when it go's to do a family member assy it fill it out incorrectly and sticks .asm!master in the part...
Hi Don
Tried that and the result is
AssyName.asm!Master 'not the current active FamilyMembers Name
I thought is would be somthing like
Debug.Print ObjDoc.AssemblyFamilyMembers.Name 'witch doesn't work
But
Debug.Print ObjDoc.AssemblyFamilyMembers.Count 'gets the number of FamilyMembers in the...
Sorry I didn't explane well
The current assembly document IS a Family Of Parts or has Alternate Position in it. ie ball valve open/closed positions.
How do you get the current active member position name? or Family Part Name
Thanks Don Young your code works for a assembly
Cheers
Snow