CAD Forum - Database of tips, tricks and utilities for AutoCAD, Inventor and other Autodesk products []
Czech English Deutsch
 Visitors: 3028 
RSS tips RSS channel - CAD tips
RSS discussion RSS channel - CAD discussion

Discussion Discussion forum

HelpCAD discussion

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.

How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

The information that you provide in this form will make up your forum profile which can be viewed by other forum members. Your email address will only be visible by forum admin and moderators and will be used to send you Forum Notifications. To cancel your account, use the page Opt-out or contact

Topic ClosedBorder update layerstate help

 Post Reply Post Reply
kameron1967 View Drop Down

Joined: 30.Jan.2011
Location: United States
Using: autocad 2010
Status: Offline
Points: 29
Direct Link To This Post Topic: Border update layerstate help
    Posted: 31.Jan.2011 at 16:28
Hi guys,
I am trying to update some drawings, but I am running into some problems with the border being on different layout tabs.  There are a few features I'd like the routine to contain.  Here are the issues that I'm facing:
1)I have borders Border1 OR Border2 in many layout tabs that I'd like to change with BorderN.  At the same time, I want to transfer the attribute from each either Border1 (if exist) or Border2 (if exist) onto the new BorderN using the MTB routine.
2) Is there a way to check if the layerstate "DEFAULT" is created?  If it exists, I'd like to be able to delete it before creating it.  And after I move everything from 0,0 to "@2<194", I'd like to delete that DEFAULT layerstate. 
3) How do you check if the insertion of Border1 OR 2 is at 0,0?  This will need to apply to all layout tabs as mentioned in #1.  If the insertion of Border1 or 2 is not at 0,0, I'd like to move it along with everything to 0,0.
Thank you.  Any assistance in any or all part of this routine would greatly be appreciated. Smile
Back to Top

Related CAD tips:

 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

This page was generated in 0,047 seconds.