(acet-ss-drag-move ...) returns error

Hi all

If I do

(acet-ss-drag-move (ssget) (getpoint "\nGrab a point: "))

I get an error. Is this syntax right, similar to competition?

From https://forum.bricsys.com/discussion/21353/acet-error-init I understand these functions have native support, is that right? I could not find an entry in Help, hence.

Comments

  • You can find information about this function in the LDSP. Note that the prompt argument must be nil. If you supply a string instead, the function will fail because of missing sub-functions.

  • Thanks Roy

    F1-Help points to here.

    LDSP says:

    (acet-ss-drag-move sset refPt prompt highlight)

    So I would expect...

    (acet-ss-drag-move (ssget) (getpoint "\nGrab a point: ") "Ola..." T)

    ... not to return:

    ; error : no function definition <STR_POS_SET> ; expected FUNCTION at [eval]

    I noticed that highlight at T or nil doesn't make a difference. So

    (acet-ss-drag-move (ssget) (getpoint "\nGrab a point: ") nil nil)

    works fine (for me) with the nil entry as you suggested.

    I'll do a support request for this.

  • Dear Wiebe,

    many thanks ... I will review and fix that defect, thanks also for support request :-)
    many greetings !

This discussion has been closed.