|
CATIA V5 Programmierung : Selected annotated view name to string
iscariot am 09.04.2012 um 14:38 Uhr (0)
Ich brauche wirklich Hilfe mit diesem Wie bekomme ich (in einem String) Der Name des ausgewählten annotated view? oder vielleicht die Item Nummer?Ich würde wirklich apreciate die Hilfe.Ich brauche so etwas wie dieses: Dim AnnSelection as Selection Set AnnSelection = CATIA.ActiveDocument.Selection Dim str2DViewName As String str2DViewName = AnnSelection.NamePS.Tut mir sehr leid, mein Deutsch ist sehr schlecht.
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : schwarzem Text in Annotated view
iscariot am 11.04.2012 um 21:37 Uhr (0)
Ich möchte schwarzem Text in einer Annotated view machen, aber es kommt automatisch rot. Wie kann ich die Farbe ändern?Ich fand dieses Makro in der Dokumentation: COPYRIGHT DASSAULT SYSTEMES 2001Option Explicit *********************************************************************** Purpose : Create an approbation stamp. Assumptions : A CATProduct document should be active. Author : Languages : VBScript Locales : English CATIA Level : V5R6 **************************************************** ...
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : schwarzem Text in Annotated view
iscariot am 12.04.2012 um 20:45 Uhr (0)
Ich habe bereits versucht mit der Selektion: Dim sel As Selection Set sel = CATIA.ActiveDocument.Selection Call sel.VisProperties.SetRealColor(0, 0, 0, 0)Aber ich möchte automatisch auf schwarzem Text zu erstellen.Ich lese die andere Seite von Ihnen, aber ich verstehe nicht, wie ich kann, dass auf meine Bedürfnisse anzupassen.
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : schwarzem Text in Annotated view
iscariot am 11.04.2012 um 21:37 Uhr (0)
Ich möchte schwarzem Text in einer Annotated view machen, aber es kommt automatisch rot. Wie kann ich die Farbe ändern?Ich fand dieses Makro in der Dokumentation: COPYRIGHT DASSAULT SYSTEMES 2001Option Explicit *********************************************************************** Purpose : Create an approbation stamp. Assumptions : A CATProduct document should be active. Author : Languages : VBScript Locales : English CATIA Level : V5R6 **************************************************** ...
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : schwarzem Text in Annotated view
iscariot am 12.04.2012 um 20:45 Uhr (0)
Ich habe bereits versucht mit der Selektion: Dim sel As Selection Set sel = CATIA.ActiveDocument.Selection Call sel.VisProperties.SetRealColor(0, 0, 0, 0)Aber ich möchte automatisch auf schwarzem Text zu erstellen.Ich lese die andere Seite von Ihnen, aber ich verstehe nicht, wie ich kann, dass auf meine Bedürfnisse anzupassen.
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : schwarzem Text in Annotated view
iscariot am 17.04.2012 um 19:02 Uhr (0)
Ich habe den Code von Bernd getestet und es funktioniert nicht.Das Makro hält an dieser Linie:"sel.add oMarker2DText dein erstellten Text selektieren"Sub CATMain() Const CHAR_HEIGHT = 0.05 Const CHAR_WIDTH = 0.03 Const ANCHOR_HEIGHT = -0.9 Const ANCHOR_WIDTH = 0.0 Const EPSILON = 0.5 Acquire the name of the Responsible Dim sRespName As String sRespName = "John SMITH" Default value sRespName = InputBox("What is your name ?", "Responsible name", sRespName) If sRespName "" Then Retrieve the Ann ...
|
In das Form CATIA V5 Programmierung wechseln |