Jump to content

Search the Community

Showing results for tags 'civil3d 2025'.

  • 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. Below is a section of code which we use to automatically colour code parcels based on their area. At present it automatically creates layers based on colour (ie Hatch_25512177). Is it possible to have it so it creates the layer based on the area as shown (ie Hatch_400 - 450) using the area1 values +.5 Sorry if I haven't explained it well 'but I hope you get what I mean. Also apologize that I cannot supply the full lisp routine which also colours lots based on frontage and/or frontage and depth but I am not the owner. (cond (( < area1 399.5) (setq col "255,121,77")) ((and( >= area1 399.5)(< area1 449.5)) (setq col "242,95,171")) ((and( >= area1 449.5)(< area1 549.5)) (setq col "253,134,206")) ((and( >= area1 549.5)(< area1 599.5)) (setq col "253,206,243")) ((and( >= area1 599.5)(< area1 699.5)) (setq col "242,187,166")) (( >= area1 699.5) (setq col "253,237,206")) ) (setq colx (vl-string-subst "" "," col)) (setq colx (vl-string-subst "" "," colx)) (setq lay (strcat "Hatch_" colx)) (command "layer" "new" lay "") (command "layer" "color" "truecolor" col lay "") (command "LAYER" "SET" lay "") (command "color" "bylayer") (command "-bhatch" "p" "solid" "s" name "" "")
×
×
  • Create New...