Hi Mike,
It appears that numerous methods exist to convert the EP Points to C3D points so I'm not going to pursue creating my own. (If there were enough of a call for it, I'd consider trying to get it included in SincpacC3D.) I see 3 options, and there are likely more. Dotsoft has a routine to convert Blocks to C3D Points, EaglePoint's Surveyor Companion for C3D has a function to convert EP nodes to C3D points, and you've already used the DataExtraction method.
Nonetheless, not one of these is going to help with the PSLTSCALE issue. And I have to agree with Michael here, that a bit of training and better use of the tools provided would be of far more benefit than some code to force the issue.
If you still want to try to use code for this....I would suggest adding a few lines to acaddoc.lsp:
(setvar 'LTSCALE 1.0)
(setvar 'MSLTSCALE 1)
Then have a button or shortcut command named "IFPAPERSPACELOOKSLIKECRAPUSEME" with a macro:
(setvar 'PSLSTCALE 1)
(command "regenall")
The other code option would involve reactors to auto-set the PSLTSCALE when switching layouts....but, this really should only need to be done once per PS Layout as it gets saved with the drawing. If they have to "always change the PSLSTCALE" something is wrong....perhaps they have something already running at startup which messes with this? (Although I don't know how that could be, since the Tab(s) must be current to set this.)
HTH
I'll add some extra info, I have already added those variables to acaddoc.lsp, and that helped. All their old dwgs were 2004 LDT and Eaglepoint. So, for some reason they didn't use imperial scales (arch used), and there ltscale was 1 in modelspace. don't ask me why, just finding things as I go. My tm routine did set the variables correctly, and it only had to be done once, so I fixed the having to redo the psltacle over and over. So, I had them, when they called up the old dwg set the dim lt and psltscale. They did get training from there Acad dealer before I got there, but it didn't address setting the styles very fast or anything about migration to C3D. They did it the manual way, so I told them about Sinpac and how fast it was. They didn't want to buy just yet. With there motto of don't do it if you can't bill it was a bit limiting. I had the tm.lsp routine from long ago and it worked for the moment. I also advised on getting more training when possible. I helped them with the basics and we got it to work. Now, all there new dwgs are setup with a proper template and styles and no problems are happening. They have a huge backlog of redoing 3 years worth of dwg up to get them in C3D 2011 updated for their client. So, the job is getting done.
Mike, I just read your last post, and indeed one of the first things I did was tell them about The Swamp. I'm not there only source of cad, they do have a dealer. The problem is solved with template for new dwgs. I will try the method of AU virtual class has mentioned and see if they want to use it for calling up there 2004 dwgs. They are a hard group to get to change, but attempts are being made. Their cad people are barely able to keep up with the work thrown at them, not to mention jumping from LDT2004/Eaglepoint to C3D 2011 just 4 months ago. I have learned something here that I didn't know before with the AU and the Project Migration session. It does appear to be a good solution for migrating older files. I'm all for learning. Getting work has been really tough I haven't had work since last Sept, and I just got the job with them just a month ago, so all is a work in progress. So, you will have to pardon me for just trying to keep up with all the tech and C3D. I will get training from so of the local cad dealers here when the budget allows. The economy here in NC still sucks.
Thanks for all the advise.
MJP