Hello,
How to make the line number tag in one line, right now my line number has two lines, size is on top and the rest on the second line.
I want it be like this
Thanks for your help
Solved! Go to Solution.
Solved by DVaquand. Go to Solution.
For space reasons, the line number TAG may be displayed in 2 lines during isogeneration. This is hardcoded and unfortunately cannot be customised.
How is the line number tag configured in Plant 3D?
Hartmut Eger
Senior Engineer
Anlagenplanung + Elektotechnik
XING | LinkedIn
Hello
The fact that the line number annotation is on two lines is because it is written with multiline text.
To resolve this problem you must create a new annotation block which will contain a non-multiline attribute definition and associate it with the line number annotation.
Process
Open project configuration
Step 1
In the iso symbols part, define a new block. I named it "AnnoStd" and used an existing block that I renamed.
In this "AnnoStd" block I created a new attribute of non-multiline type, retrieved the properties of the existing attribute, deleted the existing attribute and placed the new attribute at potion 0,0,0.
2nd step
Navigate to the XML code part of the iso style "IsoConfig.xml" file.
In the "Themes/Theme/Annotations/AnnotationStyles" section we create a new annotation style line. I named it "StandardLineNumber" by assigning it the "BlocName=AnnoStd" annotation block created in step 1.
Step 3
Still in the XML code, in the "Themes/Theme/Annotations/AnnotationSchemes" section we attribute to "LineNumberScheme" the name of the style "StandardLineNumber".
We record everything.
When running an iso output, the line number should now be written on a single line.
Due to its properties, the annotation comes from the "AnnoStd" block
See the video
== French ==
Le fait que l'annotation du numéro de ligne soit sur deux lignes provient qu'elle est écrite avec du texte multiligne.
Pour résoudre ce problème il faut créer un nouveau bloc d'annotation qui contiendra une définition d'attribut non multiligne et l'associer à l'annotation du numéro de ligne.
Processus
Ouvrir la configuration du projet
Etape 1
Dans la partie iso symboles, définir un nouveau bloc. Je l'ai nommé "AnnoStd" et je me suis servi d'un bloc existant que j'ai renommé.
Dans ce bloc "AnnoStd" j'ai créé un nouvel attribut de type non multiligne, récupéré les propriétés de l'attribut existant, supprimé l'attribut existant et placé le nouvel attribut à la potion 0,0,0.
Etape 2
Accédez à la partie code XML du fichier "IsoConfig.xml" du style iso.
Dans la section "Themes/Theme/Annotations/AnnotationStyles" on créé une nouvelle ligne de style d'annotation. Je l'ai nommé "StandardLineNumber" en lui attribuant le bloc d'annotation "BlocName=AnnoStd" créé à l'étape 1.
Etape 3
Toujour dans le code XML, dans la section "Themes/Theme/Annotations/AnnotationSchemes" on attribut à "LineNumberScheme" le nom du style "StandardLineNumber".
On enregistre le tout.
En lançant une sortie iso, le numéro de ligne doit être maintenant écrit sur une seule ligne.
De part ses propriétés, l'annotation provient bien du bloc "AnnoStd"
Cordialement
Dominique VAQUAND
www.dovaq.fr
Cette publication vous a-t-elle été utile ? N’hésitez pas à attribuer la mention J’aime à cette publication.
Avez-vous obtenu la réponse à votre question ? Cliquez ensuite sur le bouton ACCEPTER LA SOLUTION.
Hi h_eger,
I set up the LineNumberScheme in isoconfig.xml like this
The Tag Format Set up goes like this:
MPL is the Area in our project.
The size is a separate entity and was added in P&ID DWG Settings-Engineering Items-Pipe Line Segments, and on the Properties-Size, I've added Pipe_Size_Imperial_Decimal under Selection List Property and added those sizes in Imperial
Thank you for the reply.
you need to add the OD, in your case "12in", to the LineNumberScheme in the IsoConfig.xml.
The Pipeline TAG and the OD marking are currently treated separately.
Hartmut Eger
Senior Engineer
Anlagenplanung + Elektotechnik
XING | LinkedIn
Hi Dvaquand,
Thanks for your solution, I've followed the video and it really works.
One more thing, the line number tag was quite offset with the line. Do you have any solution for this?
Also, for the Iso Style I am using, isoconfig.xml, do I need to add these enclosed? They were not automatically added in my xml file.
My Isoconfig.xml
Thanks a lot.
Hi h_eger,
What I did in my Tag Format Setup-P&ID Class Definition-Pipe Line Segments was I've changed the delimiter (-) to the word "in". We are using Plant 3D P&ID to model our piping.
And on the LineNumberScheme, I've interchanged the size and the rest of line number tag and with space.
The result as shown below
Regards.
If you don't mind the nominal width in TAG format, everything is fine.
Good luck with your work with Plant 3D 😉
Hartmut Eger
Senior Engineer
Anlagenplanung + Elektotechnik
XING | LinkedIn
Can't find what you're looking for? Ask the community or share your knowledge.