Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Mabjro
  • Order by date
  1. Mabjro

    Text Editing

    I got excited, stayed late and did this right away. Works like a charm. Thanks to all. (defun c:ledit () ; Prompt for a suffix (setq Suffix (getstring t "Enter a suffix.")) ; Set initial value of I (setq I 0) ; Select Text (setq a (ssget '((0 . "TEXT")))) ...
  2. Mabjro

    Text Editing

    CarlAK, Sounds like you and Todd are on the same track. I will try using repeat and will post back Monday. (on the road Fridays) Thanks for the help and have a good weekend. Mabjro
  3. Mabjro

    Text Editing

    Todd, Although I just finished writing the routine and then read your post, I am going to try your suggestion. Here is what I did so far. (defun c:ledit () ; Prompt for a suffix (setq Suffix (getstring t "Enter a suffix.")) ; Set initial value of I (setq I 0) ...
  4. Mabjro

    Text Editing

    Wow. I can't believe how it all comes back. I am rusty but it's still a lot of fun. I succeeded in creating a lisp routine that works exactly as it should with one exception. I have to enter the command every time for each text entity and I have to type in the suffix each time. Please see...
  5. Mabjro

    Text Editing

    Thank you CarlAK, I will work on your suggestion. You gave me enough to get started as I am rusty with Autolisp. I have not toyed with it in a couple of years. It should be pretty easy now that you have jogged my memory. Thanks. Mabjro
  6. Mabjro

    Text Editing

    I got to thinking about an easier way to explain what I am trying to accomplish. I want to add a default prefix and suffix to my single line text. Thanks again.
  7. Mabjro

    Text Editing

    I want to create a lisp routine for editing text with some restrictions. The best way to explain it is to show it. I have a text entity with a value xxxx-(yy) occurring multiple times in a drawing. When I use the ddedit command the whole string appears in the dialogue box for editing. The...
  8. Mabjro

    Error: No Function Definition

    Todd, Thank you for your well thought out reply. I was on the road Friday and did not see it until today, Monday. I tried your suggestions in the order that you suggested them. I had success with the last suggestion of saving to an R12 dxf file. You and CarlAK are obviously experts, in my...
  9. Mabjro

    Error: No Function Definition

    I tried to saveas and/or dxfout as R14. No success. If anyone has any ideas it would sure make my day. Autodesk's website does not have much on this topic. Thank you, Mabjro
  10. Mabjro

    Error: No Function Definition

    Thank you CarlAK, I will try that. What is a reactor? Is something created by a third party software? Thanks for your help. Mabjro.
  11. Mabjro

    Error: No Function Definition

    Below is a copy of my text window after opening a drawing and running two commands. The list command and the filter command. Look at the errors. This only happens in some drawings that I am getting from another party. I have no direct relationship with the engineering firm that created the...
  12. Mabjro

    Can I use a function with arguments in a query?

    Thank you VBAJock, It will take me some time to experiment with your suggestions. I'm going to work on that and I will post back early next week. Have a great weekend everyone. Mabjro PS. Sorry about the duplicate paragraph above, I did not notice it when I previewed my post. Hopefully...
  13. Mabjro

    Can I use a function with arguments in a query?

    I tried to omit the argument (myvar)from the function and declaring it as a public variable per cmmrfrds and I get the following error; "Wrong number of arguments or invalid property assignment" I also tried to make the arguments optional per CajonCenturian. I do not get any errors...
  14. Mabjro

    Can I use a function with arguments in a query?

    Thank you for your replies. I will toy with this on Friday, as I am not near the computer this is on, at the moment. I will post back my results. Mabjro
  15. Mabjro

    Can I use a function with arguments in a query?

    How can I use a function with arguments in a query? I’m trying to use a function w/arguments in a query; “Select * FROM mytable Where myfield = ReturnMyVar() “ produces the following error. Wrong number of arguments used with function in query expression ‘(((mytable.myfield) =...
  16. Mabjro

    Programatically change pagesetup on 300 drawings at once.

    Doug, Specifically, I am trying to change the (x) plot offset to 1" on about 300 drawings. I want to do this because I need to get them into a binder. I will use batch plotting to print them all. The drawings were originally set up to be printed on 36" x 24". When I print them...
  17. Mabjro

    Programatically change pagesetup on 300 drawings at once.

    Sorry Doug, I did not think anyone posted to this question. I am a novice with VBA and pretty good at Access. If you have the time and want to help, I would love to know how to bring all of this together. Hope your still there. Jonathan
  18. Mabjro

    How can I use the value of the current record in a query?

    I'm not going to continue this thread. Thank you everyone for your help. I need to do more homework and tomorrow I am getting another book. I will check back, just incase anyone has any recommendations on a book. I am very close to solving this problem. It has become a personal challenge...
  19. Mabjro

    Set index number of a form to a Global variable for use in query?

    For the most part you answered my question by your second post. Mabjro
  20. Mabjro

    Set index number of a form to a Global variable for use in query?

    I am using a non-default instance of a form and therefore it can not be refered to by name. See the following link, it explains what I am trying to do. (quick reading, about a page) The gist of the last paragraph is that I can only refer to the form by its index in the form collection...

Part and Inventory Search

Back
Top