Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DOSLib for AutoCAD 2019 Available

19 REPLIES 19
Reply
Message 1 of 20
dale_fugier
5606 Views, 19 Replies

DOSLib for AutoCAD 2019 Available

If anyone is interested...or cares... Smiley Wink

 

http://wiki.mcneel.com/doslib/home

 

26 years and counting...

 

-- Dale

Tags (3)
19 REPLIES 19
Message 2 of 20
paullimapa
in reply to: dale_fugier

Message 3 of 20
phanaem
in reply to: dale_fugier

Thanks!!!

Message 4 of 20
cadheinz
in reply to: dale_fugier

Danke

DH
Message 5 of 20
alanshi.cn
in reply to: dale_fugier

Thank you very much!
Message 6 of 20
Steve_Johnson
in reply to: dale_fugier

Dale and McNeel continue to be awesome!

Steve Johnson - blog nauseam - ClassicArray
Message 7 of 20
rakesh_rao
in reply to: dale_fugier

 

Thanks Dale.

 

doslib is one utility that we cannot live without.

 

Awesome going for the last so many years.

 

Best Regards

Rakesh Rao

- rakesh.rao@4d-technologies.com
- www.4d-technologies.com / www.coordsys.com
- Blog:EN: http://rakeshrao.typepad.com
- Blog: ES: http://kiranabhat.typepad.com
Message 8 of 20
JBerns
in reply to: dale_fugier

Dale,

Thanks for the great work and keeping this updated.

 

Regards,

Jerry

-----------------------------------------------------------------------------------------
CAD Administrator
Using Inventor 2022
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional
Message 9 of 20
JBerns
in reply to: JBerns

Is anyone else unable to display info in the DOSLib help file?

The right side is blank when selecting topics.

2018-05-03_14-19-39.jpg

 

Regards,

Jerry

 

-----------------------------------------------------------------------------------------
CAD Administrator
Using Inventor 2022
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional
Message 10 of 20
dale_fugier
in reply to: JBerns

In Explorer, right-click on the .chm file and pick Properties. In the Properties dialog, poke the Unlock button.

Message 11 of 20
JBerns
in reply to: dale_fugier

Dale,

Thanks for the answer and the quick reply.

I don't recall ever having to use Unblock on a CHM file. Good to know.

 

Regards,

Jerry

-----------------------------------------------------------------------------------------
CAD Administrator
Using Inventor 2022
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional
Message 12 of 20
kjbusacker
in reply to: dale_fugier

Dale_fugier, I have noticed this issue before also.  You mentioned an 'unlock' button.  I have never seen an unlock button in Properties.  Are you referring to the read-only attribute checkbox?

 

I have the same issue with .chm files on our network drive.  The CHM file is not read-only, but I do notice if i copy the same file to my hard drive (Documents folder), then I am able to see the help contents on the right window pane.   Can anyone explain why that is and if there is a way to get our .chm files to work from our network drives?

Message 13 of 20
dale_fugier
in reply to: kjbusacker

Windows blocks CHM files opened from network drives because of a security issue.

 

 

If you 'google' this topic, you can find workarounds that involved editing your Registry.

 

-- Dale

 

 

Message 14 of 20
kjbusacker
in reply to: dale_fugier

Dale, thanks for your prompt and informative reply!

Message 15 of 20
JBerns
in reply to: kjbusacker

Dale,

 

The function, dos_getfilem, returns a list of the path and drawings selected. The drawings are returned in alphabetical order. Your function is superior to getfiled which does not allow window resizing or multiple file selection.

 

I reviewed the Help file, but could not find an option to return the drawing list in the order the user selected them.

A benefit of a user-selected file list, in the case of drawings, would be that you could open all the drawings in the list and then activate the first drawing in the list.

 

Do you think others would benefit from an option to return the list either alphabetized or user-order selected?

 

Thanks for all your great work.

 

Regards,

Jerry

-----------------------------------------------------------------------------------------
CAD Administrator
Using Inventor 2022
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional
Message 16 of 20
JBerns
in reply to: JBerns

@dale_fugier,

 

I have incorporated dos_getfiled into several functions and it works great!

 

Would it be possible to add a Read-Only option to the function's interface? This could be similar to AutoCAD's OPEN command, which uses a drop down box, or use a check-box, which may be preferable to others.

 

I noticed that DOSLIB is on GitHub, but I do not have experience with that programming language. I hope others would benefit from this read-only option enhancement.

 

Thanks for your time. I welcome your feedback.

 

 

Regards,

Jerry

-----------------------------------------------------------------------------------------
CAD Administrator
Using Inventor 2022
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional
Message 17 of 20
dale_fugier
in reply to: JBerns

Hi @JBerns,

 

You might see if the dos_getfilenav function works any better. Check the help file for details.

 

-- Dale

Message 18 of 20
JBerns
in reply to: dale_fugier

@dale_fugier,

 

Although dos_getfilenav offers more options, it does not offer a read-only option like the AutoCAD OPEN command.

2019-01-24_12-52-10.png

This would be a nice option to offer users who may want to open a drawing in a protected state.

Thanks, Dale.

 

Regards,

Jerry

 

-----------------------------------------------------------------------------------------
CAD Administrator
Using Inventor 2022
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional
Message 19 of 20
gazgumby
in reply to: dale_fugier

Oh my word! 

I’ve just discovered DOSLib! 

I’ve written my own LISP routines in the passed and had heard of it while researching commands. 

Can either of you guys recommend any resources / websites to further my knowledge and expand my usage of DOSLib into my LISP routines? 

Kindest Regards 

Message 20 of 20
JBerns
in reply to: gazgumby

@gazgumby ,

 

I think the best resource is the DOSLib Help File (contained in the Zip file).

Take several minutes to read through the Introduction section. Scan the function names listed in the Index tab. Most functions are self-explanatory, with detailed info when you select the function name.

For a specific task, such as a file operation, return to the Contents tab to see the functions organized by category.

Beyond that, many users on the AutoCAD Customization forum likely use DOSLib, so you could post your questions there.

Good luck and glad you discovered DOSLib. And a grateful thanks again to @dale_fugier for making this powerful tool available.

 

Regards,

Jerry

 

-----------------------------------------------------------------------------------------
CAD Administrator
Using Inventor 2022
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost