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

Thread: lisp

  1.    #1
    Lurker
    Join Date
    January 8, 2019
    Posts
    1
    Current Local Time
    09:06 AM

    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
    853
    Current Local Time
    10:06 AM
    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 26, 2011
    Posts
    147
    Current Local Time
    10:06 AM
    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
    853
    Current Local Time
    10:06 AM
    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,563
    Current Local Time
    01:06 AM

  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,464
    Current Local Time
    01:06 AM
    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,771
    Current Local Time
    03:06 AM
    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,563
    Current Local Time
    01:06 AM
    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,771
    Current Local Time
    03:06 AM
    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,002
    Current Local Time
    04:06 AM
    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
  •