Create a Lisp extension for AutoCAD

Job ID: 37975310

Budget: €8 – €30 EUR

To create a Lisp extension for AutoCAD that facilitates the division of areas into rooms such as bedrooms, bathrooms, kitchens, living rooms, balconies, and other areas, you will need to focus on a few key functionalities. This Lisp program should allow the user to specify the number of divisions and the areas of each division, and it should query whether each area receives natural lighting. Below is a general outline of how you could approach writing this Lisp program for AutoCAD:

Interface for User Input: Create a simple interface (dialog boxes or command-line prompts) that asks the user for the number of divisions and for details about each division (type of room, area, and whether it has natural lighting).

Data Storage: Use data structures to store the user's inputs. This can be lists or associative arrays (dictionaries) where each division's details are stored for processing.

Room Suggestions: Include a predefined list of suggested room types for the user to choose from or add their own.

Calculating Total Area: Provide a function to calculate the total area of the space based on user inputs, ensuring the sum of divisions does not exceed the total available area.

Drawing Function: Implement a function to draw the divisions within AutoCAD based on the user's specifications. This will involve calling AutoCAD's drawing functions through Lisp.

Natural Lighting Query: For each division, include a query about natural lighting, and use this information to modify the drawing properties (such as color or layer) to visually differentiate between areas with and without natural lighting.

Output and Export: Ensure the program can output the designed plan in a format compatible with AutoCAD for further editing or use.