Skip to main content
10-Marble
August 26, 2024
Question

Insert new view into drawing, with view name from 3D model

  • August 26, 2024
  • 1 reply
  • 1066 views

Hello,

I would like to insert a view into a drawing, and that works so far.

The view should have the same orientation as in the 3D model, e.g. front, top, bottom, etc.

How can I pass the predefined 3D view name when creating the view, or assign it later?

Does anyone have any ideas?

I'm using Excel VBA.

 

Translated by the moderation using Google Translate
-----------------------------------------------------------------------------------------------

Neue Ansicht in Zeichnung einfügen, mit Ansichtnamen aus 3D-Modell

 

Guten Tag,

ich möchte in einer Zeichnung eine Ansicht einfügen, das funktioniert auch soweit.

Die Ansicht sollte aber die Orientierung so wie im 3D-Modell haben, z.B. vorne, oben, unten usw.

Wie kann ich beim Erzeugen der Ansicht den vordefinierte 3D Ansichtnamen übergeben, oder nachträglich zuweisen ?

Hat bitte jemand eine Idee ?

Ich bin mit Excel VBA unterwegs.

1 reply

18-Opal
August 26, 2024

Try to get the view matrix for the general view

(Toolkit =ProDrawingGeneralviewCreate) from the 3D model by name and apply for the drawing view creation. 

 

For the projected ones ProDrawingProjectedviewCreate the placement point will do the rest. 

HaGs10-MarbleAuthor
10-Marble
August 27, 2024

Hi RPN,

Thanks for your answer,

that's a good tip, I'll try to implement it in VBA.

24-Ruby III
August 27, 2024

Hi,

please ask PTC Support whether requested functionality is implemented.