Jump to content

Recommended Posts

Posted

Hi,

 

would anyone know how to know which template was started in a drawing?

 

I'm trying to make some lisp routine start when it's that specific template that starts.

 

Thanks!

Posted

Once the new drawing is saved as a "dwg" wouldn't that information just go away?

Posted

I'm not sure that's what I'm trying to figure out!

 

If i'd know at startup the system variable for the template maybe i could fallow it and see it the drawing keeps the information.

Posted

This was recently discussed, I think in the Autodesk forums.

IIRC, there isn't any way to tell because that data is not stored in the drawing.

 

Having said that, you could embed some non-graphical data in a template drawing (for example, xdata tied to layer 0) that you could later query.

Wouldn't help now, but it could in the future.

Posted
I'm not sure that's what I'm trying to figure out!

 

If i'd know at startup the system variable for the template maybe i could fallow it and see it the drawing keeps the information.

 

One clue would be to check the dimstyle and find the matching template in the template file you have an that if the dimstyle was not altered importing from other drawings since dimstyle does follow when stuff is inserted.

 

HTH

Posted

And if every template uses the same dimstyle then what?

Posted
And if every template uses the same dimstyle then what?

 

next step would be to check the loaded linetypes and frames along with sheet sets

if they are all the same what is the point of having them under a different name in that case?

Posted

Indeed! different template should me different layers or layout. Well that should give me a few idea's thank alot!!

Posted
This was recently discussed, I think in the Autodesk forums.

IIRC, there isn't any way to tell because that data is not stored in the drawing.

 

Having said that, you could embed some non-graphical data in a template drawing (for example, xdata tied to layer 0) that you could later query.

Wouldn't help now, but it could in the future.

 

Indeed one with color compapy chop with imp and one metric + no logo for others

Also one b/w company chop both metric and imperial+ no logo for others

 

Different flavors can be added also (linetypes and layers)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...