AutoLISP Element Arranger - Repost - open to bidding
$30-250 USD
Cerrado
Publicado hace alrededor de 10 años
$30-250 USD
Pagado a la entrega
I need someone to produce a LISP that will arrange small text elements (property type, property number, “M” symbol) within the confines of the rectangles (parcels) that contain them. I have detailed the required functions of the LISP below, and attached an example file with both the initial conditions and the desired final conditions. Where discrepancy exists, the drawing example takes precedence. Please ask as many clarification questions as are necessary!
Functional Requirements:
1. The LISP shall set the rotation of all “Property_Type” elements to that of the nearest “RW” line. It shall set the placement of all “Property Type” elements to be centered between the nearest two (2) “PL” lines, and offset a distance of 15 model units perpendicular from the nearest “RW” line.
2. The LISP shall set the rotation of all “Property_Number” elements to that of the lower of the two “PL” lines that abut the nearest “RW” line. It shall set the placement of all “Property_Number” elements to be offset from the lower of the “PL” corners formed from the “PL” line that typically does not intersect the “RW” line.
3. The LISP shall set the placement of the “M” symbols (including both text and circle elements) to be near the centroid of the parcel rectangle, and to not intersect either the “Property_Type” or “Property_Number” elements.
I have attached a DWG containing a small snippet example of the initial and final conditions. The LISP you produce must be applicable to a much larger file (10s of thousands of parcels).
Misc. Requirements:
1. Compatible with AutoCAD C3D 2012
2. Comment on each line
3. Applicable to a much larger dataset
I have authored many autolisp routines through the years from simple utilities to large complex programs. My Autolisp programming was replaced with VBA and more recently .NET so I have not authored any new Autolisp in many years. However, I still use several of my old lisp routines today and I do maintain this code. I did not find the downloaded file but I have a good idea of what your project entails. I have a VBA project that moves labels and repositions them relative to drawing objects when the 3D view is changed.
I would propose a command line driven Autolisp (no gui), You would simply issue the command on the command line and the process would then process all instances found in the drawing reporting success or failure to the command line when the routine finishes. Simple and straight forward for the user.
I estimate 8 to 12 hours will be needed for coding and testing and I will need to get a copy of the drawing from you. I suspect 100 to 150 lines code will be the final size of the Autolisp routine. You will get the source code and if you wish I can compile the Autolisp. However, I no longer compile lisp routines for my personal use, I prefer to have access to the code and there is no real performance gain from compiling lisp code in Autocad it is more of a security issue.