Donate Now Goal amount for this year: 2500 USD, Received: 1627 USD (65%)

Results 1 to 10 of 10
Like Tree1Likes
  • 1 Post By DaveP

Thread: lisp

  1. #1
    New Member
    Join Date
    January 7, 2019
    Posts
    1
    Current Local Time
    09:50 PM

    lisp

    Does REVIT have any language utilities like LISP?

  2. #2
    Senior Member Andres Franco's Avatar
    Join Date
    June 21, 2012
    Location
    Tours, France
    Posts
    983
    Current Local Time
    11:50 PM
    Quote Originally Posted by meihome View Post
    Does REVIT have any language utilities like LISP?
    Well LISP NO, that is more for AutoCAD, in Revit you can work with DYNAMO which allows you to create automations for several tasks!

  3. #3
    Member mjajansen's Avatar
    Join Date
    December 25, 2011
    Location
    The Netherlands
    Posts
    193
    Current Local Time
    09:50 PM
    There is also the option to use PyRevit with Python or just use the API directly with C#

  4. #4
    Senior Member Andres Franco's Avatar
    Join Date
    June 21, 2012
    Location
    Tours, France
    Posts
    983
    Current Local Time
    11:50 PM
    Quote Originally Posted by mjajansen View Post
    There is also the option to use .... Python or just use the API directly with C#
    Yes, but on the other hand you need to have some programming knowledge to do so!!

  5. #5
    The Moderator with No Imagination MPwuzhere's Avatar
    Join Date
    December 14, 2010
    Location
    Coeur d Alene, ID
    Posts
    4,784
    Current Local Time
    02:50 PM

  6. #6
    Moderator
    "I am NOT a Revit tutor!"
    Dave Jones's Avatar
    Join Date
    December 7, 2010
    Location
    San Luis Obispo, California USA
    Posts
    4,491
    Current Local Time
    02:50 PM
    Quote Originally Posted by Andres Franco View Post
    Yes, but on the other hand you need to have some programming knowledge to do so!!
    not any different with LISP or VLISP (lost in stupid parentheses)

  7. #7
    Moderator DaveP's Avatar
    Join Date
    January 10, 2011
    Location
    St Paul, MN
    Posts
    2,984
    Current Local Time
    04:50 PM
    Quote Originally Posted by MPwuzhere View Post
    I love writing VB Macros in Excel!
    Now, if Revit only had a Macro Recorder so I could learn how to write macros in Revit....

  8. #8
    The Moderator with No Imagination MPwuzhere's Avatar
    Join Date
    December 14, 2010
    Location
    Coeur d Alene, ID
    Posts
    4,784
    Current Local Time
    02:50 PM
    Quote Originally Posted by DaveP View Post
    I love writing VB Macros in Excel!
    Now, if Revit only had a Macro Recorder so I could learn how to write macros in Revit....
    Isn't that what a Journal file is?

  9. #9
    Moderator DaveP's Avatar
    Join Date
    January 10, 2011
    Location
    St Paul, MN
    Posts
    2,984
    Current Local Time
    04:50 PM
    Nope.
    The Journal file is just a log of everything Revit did & the commands (icons) that you picked. It's basically a debugging tool.
    ' E 03-Jan-2019 15:51:16.258; 0:<
    Jrn.AppButtonEvent 0 , "Application Menu is closing"
    'E 03-Jan-2019 15:51:16.370; 0:<
    Jrn.MouseMove 0 , 236 , 112
    'E 03-Jan-2019 15:51:16.370; 0:<
    Jrn.Command "Ribbon" , " , ID_REVIT_SAVE_AS_FAMILY"
    The Excel Macro Recorder writes the VB code for you.
    that's how I learned, not only Excel Macros, but pretty much how to code in VB.
    Turn on the Recorder, do what you want in Excel, turn off the Recorder & just like magic, you have executable VB code written
    Sub Macro3()
    '
    ' Macro3 Macro
    '

    '
    Range("A127:O127").Select
    Application.CutCopyMode = False
    ActiveCell.FormulaR1C1 = "=SUM(R[-13]C[14],R[-1]C[14])"
    End Sub
    cellophane likes this.

  10. #10
    Moderator cellophane's Avatar
    Join Date
    August 9, 2011
    Location
    Louisville, KY
    Posts
    6,141
    Current Local Time
    05:50 PM
    Quote Originally Posted by DaveP View Post
    Nope.
    The Journal file is just a log of everything Revit did & the commands (icons) that you picked. It's basically a debugging tool.


    The Excel Macro Recorder writes the VB code for you.
    that's how I learned, not only Excel Macros, but pretty much how to code in VB.
    Turn on the Recorder, do what you want in Excel, turn off the Recorder & just like magic, you have executable VB code written
    Holy **** that's awesome!! I didn't know it would do that!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •