Presentation Document DesignViewAssociative

Presentation Document DesignViewAssociative

BM_Ashraf
Advocate Advocate
117 Views
0 Replies
Message 1 of 1

Presentation Document DesignViewAssociative

BM_Ashraf
Advocate
Advocate

Hi,

I'm trying to make the active Scene in a Presentation Document Associative.

1.PNG


Here is the Code that I'm using

 

Sub Design_View_Associative()

Dim oPres As PresentationDocument
Set oPres = ThisApplication.ActiveDocument

Dim oActiveScene As PresentationScene
Set oActiveScene = oPres.ActiveScene

oActiveScene.DesignViewAssociative = True  ' Here i get an Error

End Sub

 

MechDS_0-1698476618544.png

 

In the API Documentation it is set to Read and Write property

MechDS_0-1698462856150.png

I'm wondering why it is not working ? !

 

One more thing that i noticed, the API for Active Scene sometimes troughs errors.

MechDS_0-1698476158499.png


It would be great if someone could help at that point, Thanks in advance !

 

 

If this solved your problem, or answered your question, please click ACCEPT SOLUTION.

Blue Mech

Add-ins for Inventor!

0 Likes
118 Views
0 Replies
Replies (0)