| | |
 | KISTERS 3DViewStation: Schutz sensibler 3D CAD Daten, egal von wo Sie arbeiten, eine Pressemitteilung
|
|
Autor
|
Thema: How to set 2D drawing dimension value offset with VBA? (348 / mal gelesen)
|
Sylas Mitglied
 
 Beiträge: 370 Registriert: 19.11.2012 Dell Precision T3500 Intel Xeon W3550 @ 3,07 GHz 12 GB RAM CATIA V5 R28
|
erstellt am: 14. Aug. 2026 11:15 <-- editieren / zitieren --> Unities abgeben:         
Hello Alltogether, Is there a way to set 2D drawing dimension value offset with VBA? when I make TED dimension - the rectangle "touches" dimension line. I would like to create macro to make TED dimesnions from selected ones (rectangle frame + offset 3), but it seems I can't find offfset property anywhere... Thanks in advance for any hint Best regards Lucas Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP |
bgrittmann Moderator Konstrukteur
       
 Beiträge: 12214 Registriert: 30.11.2006 CATIA V5R19
|
erstellt am: 14. Aug. 2026 11:28 <-- editieren / zitieren --> Unities abgeben:          Nur für Sylas
|
Sylas Mitglied
 
 Beiträge: 370 Registriert: 19.11.2012 Dell Precision T3500 Intel Xeon W3550 @ 3,07 GHz 12 GB RAM CATIA V5 R28
|
erstellt am: 14. Aug. 2026 11:39 <-- editieren / zitieren --> Unities abgeben:         
|
MICHLICK Mitglied CAD Methodik Entwickler (CATIA; NX)
 
 Beiträge: 460 Registriert: 20.06.2001 Der Aufwand bei Änderungen ist groß, wenn die Finger schneller klicken als das Gehirn denkt.
|
erstellt am: 20. Aug. 2026 08:07 <-- editieren / zitieren --> Unities abgeben:          Nur für Sylas
Of course you can fix this with a macro. Check if a frame is active and set the correct offset value. In my opinion it is better to fix this in the drafting standard and create a style for basic dimensions. So you don't have to modify the properties of the dimension - you just change the style or create the dimension by using the correct style. ------------------ Gruß Michael B. Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP |
bgrittmann Moderator Konstrukteur
       
 Beiträge: 12214 Registriert: 30.11.2006 CATIA V5R19
|
erstellt am: 21. Aug. 2026 07:51 <-- editieren / zitieren --> Unities abgeben:          Nur für Sylas
|
Sylas Mitglied
 
 Beiträge: 370 Registriert: 19.11.2012 Dell Precision T3500 Intel Xeon W3550 @ 3,07 GHz 12 GB RAM CATIA V5 R28
|
erstellt am: 06. Nov. 2026 10:25 <-- editieren / zitieren --> Unities abgeben:         
Zitat: Original erstellt von bgrittmann: Hi MichaelNow I'm curious. Which parameter controls the offset via macro? I haven't found anything about it. Regards, Bernd
Same here, that's why I'm asking  Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP |