I'm making a 3-way valve where I need to set attributes for the 3 connections. The attributes insertion point need to roatate with the valve while insting it, but the text shall always be horizontal. How can I do this in PID? I get the attributes to come placed right but the text is rotated also, if I explode the PID object it comes as it should be. Seems like the PID is somehow 'destroing' the block. In a normal ACAD block it is easy to set that the text shall always be 0 deg. rotated, but PID is not using this feature.
Thanks for an explanation of this.
Using block attributes. We are setting those values in the Properities dialog for the component.
Can this be done in a different way?
We just need the user to set the correct value for the different connections, as that can be different from case to case. And of course those values shall come in the correct location automatically, the valve can be rotated, normally, in 4 diffent ways.
There is one other way called annotations.
If you look to the symbols in a standard project you see that the valves automatically get a TAG number.
This number is an annotation.
In the same way you could create a annotation for the port connections. In your variety of placing the valves you may need to place them manualy (right mouse click -> annotate)
The annotations you have created will be visual (but only the ones belonging to this symbol)
In this annotation you can select properties in the same way you can use them for your TAG numbering.
To make things a bit easyer create a copy of an existing with the opiton Add Annotation.
The system makes a copy of the existing annotation block so you only have to give it a name.
After that you can select edit block to make the needed changes.
See attachment for some screen shots.
I hope this helps.
One more explanation for the setting of the annotation which is explained by Dinant: Select your annotation style in the annotation combo box and click on 'Edit annotation...'. Here you can set the orientation to 'Force horizontal' to get always a horizontal annotation. See attached snapshot.