Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

sshepherdYCRXY
279 Vistas, 3 Respuestas

Created linetype sporadically claims "Bad Definition"

Could one of you tell me what is wrong with this Ltype? It will work for months then claim it has a bad definition.

 

*BASELINE,BASELINE
A,4.627122,-.085777,[BASESYM,J:\Cadd Standards\Autocad\SURVEY\Client Cadd Standards\NYSDOT Standards\Linetypes\BASESYM.shx,s=.1],-.085777

Kent1Cooper
en respuesta a: sshepherdYCRXY

I believe it would say that if the Shape file cited is not reachable, or doesn't contain a shape by that name.  But even if those things are in order, I get that message when I go to Load a linetype, and the linetype file it is in contains any definition(s) [not necessarily the one I'm after] that call for text elements in a Text Style name that is not defined in the drawing [whether it never was or has been Purged].  Is it saying that specifically about that linetype, or could it be about another linetype [or more than one] defined in the same file?

Kent Cooper, AIA
pendean
en respuesta a: sshepherdYCRXY

This is a per-DWG setting, isn't it

pendean_0-1659377977955.png

 

Kent1Cooper
en respuesta a: pendean


@pendean wrote:

This is a per-DWG setting, isn't it


No, it's a Shape name, followed by a shape file to get it from, which would not be drawing-specific.  [But it would depend on the shape file being available.]  If it were a Text inclusion, it would be in double-quotes, followed by a Text Style name, and yes, that would be something that needs to have that Style defined in each drawing [and it could be defined differently in different drawings].

 

I get that bad-definition message about Shape inclusions if the Shape .shx file is not reachable [I took mine that includes some custom shapes for linetypes, and changed the name a little, temporarily].  But Message 1 includes only the linetype definition, not the bad-definition warning itself.  Since a linetype file can contain multiple definitions, I thought it's possible they might have been aiming to load that linetype, but actually got a bad-definition warning about some other one(s) in the same file.  That could be a Shape-inclusion linetype whose .shx file is not available, or if it's a Text-inclusion linetype, because the Style involved is not defined in the current drawing.  Hence my question at the end of Message 2.

 

@sshepherdYCRXY, if the bad-definition warning is about a different linetype definition than the one you want, and you don't get any warning about that one, you can just pick OK and bypass the warning(s), and any valid linetypes defined in the same file will still be available.

Kent Cooper, AIA