cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Translate the entire conversation x

Component Drawing in AFX should take defined parmateres

OS_11014878
12-Amethyst

Component Drawing in AFX should take defined parmateres

How can AFX (framework) use predefined parameters for the automatic component drawing function?

ACCEPTED SOLUTION

Accepted Solutions

Hallo @OS_11014878 ,

 

richtig, das geht nicht so ohne weiteres. 

 

Es gibt noch eine drawing_setup.txt Einstellung, mit der man Maße einstellen kann. Diese müssen natürlich am Modell existieren. 

Die Syntax ist z.B. GENERAL_VIEW_SHOW_DIMS B H (B und H müssten damit theoretisch in der General view angezeigt werden)

Bei den anderen Zeichnungsansichten muss man das ähnlich machen, indem man das _SHOW_DIMS anfügt. 

 

In folgenden AFX Versionen sollte das funktionieren:

AFX 9.0.10.0
AFX 10.0.7.0
AFX 11.0.3.0
AFX 12.2.0.0

 

Samuel Brantner
B&W Software GmbH

View solution in original post

13 REPLIES 13

Hi,

I guess you have to modify preinstalled drawing templates.

I hope @SamuelBrantner will provide more help.


Martin Hanák

Hi @OS_11014878 ,

 

the automatic drawing creation does dimension the profiles automatically. There is no special way to customize this. 

Normally all required manufacturing dimensions get created by the algorithm.

 

If you want to fully customize your drawing you can place a template drawing and place it in the customization directory. Then you can specify in detail what dimensions you want to have on the drawing.

 

It would be helpful if you can add more info to what you want to achieve.

 

I hope this helps.

Samuel Brantner
B&W Software GmbH

Hello @SamuelBrantner ,

i want to create automatically a drawing like that for example.

OS_11014878_0-1749041553436.png

I created a drawing from a profile like the default AFX profile structure but actually it doesnt even create a drawing from my profiles.

 

Hi @OS_11014878 ,

 

is there already a drawing existing? AFX will only try to create a drawing if no drawing is existing.

 

 

Samuel Brantner
B&W Software GmbH

You are right. I deleted the drw and now it is creating me drw´s.

But, now i want to create a drw like mentioned in the illustration above (with defined measurements).

How can i realise that?

Hi @OS_11014878 ,

 

please walk me thru step by step what you are doing.

 

Usually you just click on Create Drawings and select the dimensioning scheme that you like and AFX will do the rest. 

You should make sure that some basic things are set in your config.pro like DRAWING_SETUP_FILE, PRO_FORMAT_DIR. 
In the drawing_setup.txt file in the parts folder of the AFX software you can specify the name of the Frame that is to be used on the newly created drawings. 

Example: DRAWING_FORMAT_NAME din_a3

Note: Do not add .frm to the name of the format.

 

Here also the chapter from the helpcenter: 
Helpcenter 

 

Samuel Brantner
B&W Software GmbH

Hey @SamuelBrantner ,

I want to do, what you mentioned here: If you want to fully customize your drawing you can place a template drawing and place it in the customization directory.

 

If i create a template drawing, than AFX wont create a drw anymore. How i set it that afx will take the template modell?

Hi @OS_11014878 ,

 

the template drawing is only beeing copied when you create a new profile for example.

 

So the workflow is:

- Create a template drawing

- Store it in the library next to the profile (e.g. i_beam.prt) --> The name must match (i_beam.drw)

 

Now whenever you create a new I beam profile the template will be copied.

 

We changed the workflow a little bit in the past. So depending on your creo version you will need to modify some options.

 

In newer versions you will have this option:

SamuelBrantner_0-1749047970028.png

 

If you don't see this option then let me know.

 

 

 

 

 

Samuel Brantner
B&W Software GmbH

Hey @SamuelBrantner ,

 

i created a template:

OS_11014878_0-1749048806232.png

 

I saved it, in the same folder:

OS_11014878_1-1749048862383.png

 

I changed the setting:

OS_11014878_2-1749048914001.png

 

I created a new profile:

OS_11014878_3-1749048939646.png

I tried to use the function for creation of drawing:

OS_11014878_4-1749048975102.png

and nothing happens...

Can you identify where the mistake is?

 

 

Hallo @OS_11014878 ,

ich schreibe mal auf Deutsch, vielleicht wird es dann einfacher.

 

Ich glaube, hier gibt es ein generelles Missverständnis.

Man hat die Wahl zwischen Zeichnung aus Template kopieren oder automatische Zeichnungen erzeugen.

 

Wenn man eine Zeichnung aus dem Template kopiert, ist der Zeichnungserstellungsbutton wirkungslos. AFX kopiert dann einfach die .drw beim Kopieren des .prt mit und lässt diese komplett unverändert. Wie bereits gesagt, wird der Knopf auch nichts tun, wenn bereits eine Zeichnung existiert.

 

Wenn man eine neue, durch AFX erzeugte Zeichnung mit der entsprechend automatisch erzeugten Bemaßung haben möchte, muss man die Template-Zeichnung (.drw) aus der Bibliothek entfernen oder die Option Copy Drawings auf NO stellen.

Wenn man dann den Knopf drückt, sollte AFX die Zeichnung neu anlegen und je nach Einstellung auch die Maße auf der Zeichnung erzeugen.

 

Ich hoffe, das hilft Ihnen weiter.

 

English version:

I believe there is a fundamental misunderstanding here.

You have the choice between copying a drawing from a template or generating drawings automatically.

If you copy a drawing from the template, the “Create Drawing” button is ineffective. AFX simply copies the .drw along with the .prt and leaves it completely unchanged. As mentioned before, the button will also do nothing if a drawing already exists.

 

If you want a new drawing generated by AFX with the corresponding dimensions added automatically, you must remove the template drawing (.drw) from the library or set the “Copy Drawings” option to NO.

Then, when you press the button, AFX should create the drawing anew and, depending on the settings, also generate the dimensions on the drawing.

Samuel Brantner
B&W Software GmbH

Hallo @SamuelBrantner ,

 

das ist viel besser!

 

Ja, jetzt verstehe ich es.

Wenn ich eine Zeichnung neu erstellen lasse, kann ich dann einen vorher definierten Parameter abgreifen lassen?

Wenn ich ein Template verwende und mein Rohr viel größer ist als in der Vorlage, so passt die Ausrichtung nicht mehr. Wie zum Beispiel hier:

Template

OS_11014878_1-1749050814215.png

 Modell

OS_11014878_0-1749050688106.png

Die Bauteile gehen in einander plötzlich weil die Maße völlig andere sind.

 

Wenn ich es erstellen lasse, passiert das nicht aber ich kann nicht mehr entscheiden welche Parameter in die Zeichnung sollen?

 

Hallo @OS_11014878 ,

 

richtig, das geht nicht so ohne weiteres. 

 

Es gibt noch eine drawing_setup.txt Einstellung, mit der man Maße einstellen kann. Diese müssen natürlich am Modell existieren. 

Die Syntax ist z.B. GENERAL_VIEW_SHOW_DIMS B H (B und H müssten damit theoretisch in der General view angezeigt werden)

Bei den anderen Zeichnungsansichten muss man das ähnlich machen, indem man das _SHOW_DIMS anfügt. 

 

In folgenden AFX Versionen sollte das funktionieren:

AFX 9.0.10.0
AFX 10.0.7.0
AFX 11.0.3.0
AFX 12.2.0.0

 

Samuel Brantner
B&W Software GmbH

Hallo @SamuelBrantner ,

 

wir haben die Version 10.0.6.0. Ich gehe davon aus das es damit auch funktionieren sollte.

Ich werde es morgen gleich mal austesten.

Vielen Dank!

Announcements


Top Tags