Jump to content

Search the Community

Showing results for tags 'autocad profile'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • CADTutor
    • News, Announcements & FAQ
    • Feedback
  • AutoCAD
    • AutoCAD Beginners' Area
    • AutoCAD 2D Drafting, Object Properties & Interface
    • AutoCAD Drawing Management & Output
    • AutoCAD 3D Modelling & Rendering
    • AutoCAD Vertical Products
    • AutoCAD LT
    • CAD Management
    • AutoCAD Bugs, Error Messages & Quirks
    • AutoCAD General
    • AutoCAD Blogs
  • AutoCAD Customization
    • The CUI, Hatches, Linetypes, Scripts & Macros
    • AutoLISP, Visual LISP & DCL
    • .NET, ObjectARX & VBA
    • Application Beta Testing
    • Application Archive
  • Other Autodesk Products
    • Autodesk 3ds Max
    • Autodesk Revit
    • Autodesk Inventor
    • Autodesk Software General
  • Other CAD Products
    • BricsCAD
    • SketchUp
    • Rhino
    • SolidWorks
    • MicroStation
    • Design Software
    • Catch All
  • Resources
    • Tutorials & Tips'n'Tricks
    • AutoCAD Museum
    • Blocks, Images, Models & Materials
    • Useful Links
  • Community
    • Introduce Yourself
    • Showcase
    • Work In Progress
    • Jobs & Training
    • Chat
    • Competitions

Categories

  • Programs and Scripts
  • 2D AutoCAD Blocks
  • 3D AutoCAD Blocks
  • Images
    • Backgrounds

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 1 result

  1. Hi All, I have created a lisp program which defines a command called "ReloadNew". It is to reload a profile called "New_Package". Recently some changes have been made to the profile and I want everyone in my team to reload the profile. For that, since they already have their surrent profile set to "New_Package", I think they have to set some other profile current and then again set "New_Package" the current one. Or am I taking a roundabout? Is there a better way of doing it with out asking them to restart their AutoCAD? So far I am here. The problem is, it shows error when I try to set the ">" current. ( defun c:ReloadNew() (vl-load-com) (setq acadObject (vlax-get-acad-object)) (setq prefsObject (vlax-get-property acadObject 'Preferences)) (setq profileobj (vlax-get-property prefsObject 'Profiles)) (setq activeprofile (vlax-get-property profileobj 'ActiveProfile)) (vlax-put-property profileobj '<<Unnamed Profile>>) (prompt "Unnamed Profile has been set current.") (vlax-put-property profileobj "New_Package") (prompt "New_Package Profile has been set current.") )
×
×
  • Create New...