• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD P&ID

    Reply
    Valued Contributor
    Tee.Dee
    Posts: 83
    Registered: ‎11-03-2011

    Annotation Style problem

    292 Views, 2 Replies
    10-29-2012 10:14 PM

    Hi,

     

    I have created an annotation style for a control valve which works fine but I am trying to add the same annotation style to some other symbols and it gives me an error saying "Style xxx already exists in drawing!"

     

    There are plenty of other symbols using the same annotation style as one another so what am I doing wrong here?

     

    Thanks.

    Please use plain text.
    *Expert Elite*
    dave.wolfe
    Posts: 474
    Registered: ‎12-04-2009

    Re: Annotation Style problem

    10-30-2012 03:49 AM in reply to: Tee.Dee

    You'll have to define it at a higher level in the class tree.  Annotations, like most properties, are inherited from parent classes.

    Dave Wolfe
    Isaiah 57:15

    ECAD, Inc.
    Tips and Tricks on our blog: Process Design, from the Outside

    A P3D Authorized Reseller
    Please use plain text.
    Valued Contributor
    Tee.Dee
    Posts: 83
    Registered: ‎11-03-2011

    Re: Annotation Style problem

    10-30-2012 03:25 PM in reply to: Tee.Dee

    Thanks Dave, that fixed it but now I have another problem.

     

    The particular annotation style I have created is required to be used on every piece of equipment or instrument that has any I/O on it.  So at the moment if I annotate a control valve the Object Type and Loop Number are displayed but if I annotate say a motor, only the Type will display.

     

    Is there a way to have the 'Loop Number' (for say a control valve) and the 'Number' (for say a motor) in the same attribute?

     

    The way I have gotten around it at the moment is to have an attribute called #(TARGETOBJECT.LOOPNUMBER) and another attribute called #(TARGETOBJECT.NUMBER) on top of each other but this is not ideal as the attribute not being used still displayes the dot (.)

     

    Thanks!

    Please use plain text.