Jump to content

Recommended Posts

Posted
Thank you Tharwat, that work well....

 

So I will create a COND statements for the different options...

 

Thank a lot again...

 

Excellent. you're welcome.

  • Replies 29
  • Created
  • Last Reply

Top Posters In This Topic

  • Tharwat

    8

  • DaveC

    5

  • Roy_043

    5

  • pBe

    3

Top Posters In This Topic

Posted

Thanks to ALL that reply to my post and try to help me...

 

to Roy_043...

to create a LIST of actual Project Numbers (PN) was my first idea, but the PN list change every hour, that will require a new PN list every time they use this program, that is why I decide just to check for user input when is required. Right now in my JOB folder I have 1169 different project numbers. If the user open a DWG from one of this folder I get the PN automaticaly.

Posted

like Lee's Question we have a seperate program that keeps track of all project details, that includes project number. It sounds to me that you need a better recording system other than last project number. At simplest use excel, you can then read that excel from Autocad and get last project number.

 

Lastly I would not have 1169 dwg's in one folder as open dwg is a pain scrolling up and down.

Posted
As well as yours. :)

 

_$ (TestString "1489" '<)
T

Yes, my function uses the same algorithm. That is why I said: 'Note: The functions are not checking if the digits are in sequence'.
Posted

If there is a separate folder for every project, creating a new list of project numbers would be very easy...

Posted

answering Lee Mac question, no, I do not have that list.

 

"Right now in my JOB folder I have 1169 different project numbers", those are single FOLDER with the Project Number as a name, as a sample:

139006

171168.01

171170.05, etc...

 

But that is not my problem, the problem is when the user open a DWG outside of those folders (drive "U") let said from the ARCHIVE, drive "S", or any other drive.

then the user has to manually type the project number to charge to.

 

The only thing that I need to prevent, is if the user type a consecutive numbers like 000000, 1111111, 999999, 123456789,etc ...ask again for the correct project number.

 

Now the question is ....what will be the fastest way to do and check?

1. Create a PN list (must be created at the time the program started), or

2. Create a list of NUMBERs to avoid (as sample above)

 

to check the user input when is required.

 

thanks everyone..

 

DC

Posted

It is a pity that you do not use the same structure (one folder per project) in your archive.

Maybe the project number can be retrieved from the dwg (dwg name, dwg props or some attribute)?

Posted

we can not charge to ARCHIVED project number...we must use the new one.

 

thanks guys

 

DC

Posted

A part of our team use a simple system of adding A B C etc to a project number when they do work as the project is all finished from a design point of view but they do the on-site setouts hence its a extra. This sounds like what your referring to. A revision of the plans if required is still handled under the original proj No, REV 1 2 3.

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...