Brian Ekins

October 2009

Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

« Setting the Weight for iPart Members | Main | Combining Multiple Actions into a Single Undo »

March 04, 2009

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00e553fcbfc68834011168baadcc970c

Listed below are links to weblogs that reference Accessing Assembly Components:

Comments

Marian S.

Hello, when using script "ChangeAllPartMaterial" an error message "Set oAsmDoc = ThisApplication.ActiveDocument" appears, in form of "Tipe mismatch"; if I remove "Set oAsm....", application shows a message, that particular kind of material is not recognized in the library. I´ll be very grateful for your advice on this problem.

Marian S.

Hello, when using script "ChangeAllPartMaterial" an error message "Set oAsmDoc = ThisApplication.ActiveDocument" appears, in form of "Tipe mismatch"; if I remove "Set oAsm....", application shows a message, that particular kind of material is not recognized in the library. I´ll be very grateful for your advice on this problem.

Brian Ekins

I suspect the first error is because you're running this when a document besides an assembly is active. This macro expects an assembly to be active. The sample also expects that there is a material named "Gold" in your materials library.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

RSS Feed

Search