Skip to content

Include documentation/highlighting for acetutil functions #221

@semkeijsper

Description

@semkeijsper

This project is great when it comes to including documentation for the functions that are documented.
However, there are many acetutil functions that can be used from lisp, that are not documented or highlighted.

I have found a small list of them on this archived site: https://www.afralisp.net/archive/lisp/acet-utils.htm
They are documented nowhere in official AutoCAD resources, yet they still work in AutoCAD 2023 today.

For example, one hugely useful function is (acet-str-replace), which allows you to use RegEXP(!!!) to modify strings. This is honestly such a huge feature that I can't believe it's not documented more clearly. Another useful thing is the ability to show and update a progressbar, which we use extensively in our LISP code, using (acet-ui-progress-init) and related functions.

I have found a file on the Autodesk Forum called acetutil.chm, which contains limited documentation:
image
It seems like it was made by this guy: JTB World

This file contains documentation for version 1.37, but AutoCAD says we are at version 1.38, as shown when running (acet-util-ver).
I first thought the difference wouldn't be too great, but the .chm file was made in the year 2000. And I already found some functions that do work in AutoCAD, but aren't documented in acetutil.chm, like (acet-str-space-trim) (which just trims spaces from strings).

Another huge list I found is located here, but it doesn't have clear documentation on what parameters it takes.

Can you please integrate documentation for these functions? They are very useful and gamechanging when performing simple operations, such as UI and string manipulation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions