This code is the source code of a function in [AutoCAD Engineering Measurement Toolset] and can be run independently. Function drawing cross-section diagram ruler. The code was first written in 1999 when the Gangwan Reservoir Survey Team was handling the survey industry. At that time, AutoCAD R14 was still used. More than 20 years later, […]
Tag: lisp
Cross-sectional area labeling AutoLISP program
This code is the source code of a function in [AutoCAD Engineering Measurement Toolset] and can be run independently. The functions of each command in the code are as follows: zzA and zzArea: mark the area to the center of the area zzArea2Table: Output area to AutoCAD table zzArea2File: Output area to file ;;——————————————— —————;; […]
[Lisp] [Python] Use a plug-in in CAD to obtain the text of the selected block, and generate layers in batches in Rhino
Article directory 1 get_selected_text.lsp 1.1 How to use LISP code analysis 1.2 Animation 2 Using PythonScript in Rhino to create layers in batches.py 2.1 Direct generation 2.2 Generate with color 2.3 Animation display 1 get_selected_text.lsp 1.1 How to use Copy the following code with Notepad and change the file name to get_selected_text.lsp (defun c::GatherText () […]
Using Lisp to change multi-step CAD commands into single-step commands
Use Lisp to make simple CAD commands, change multi-step CAD commands into single-step commands, and mainly use two functions: command (or vl-cmdf) and defun function. This is the Autolisp entry function. Personal opinion: the same function can be realized in many ways and algorithms, such as Lisp, Vlisp (vla), VBA; general common functions can be […]
From Lisp to Vue, React to Qwit: The Evolution of Reactive Programming
This post is not about the authoritative history of Reactive, but about my personal experiences and opinions on the subject. Flex My journey started with Macromedia Flex, which was later acquired by Adobe. Flex is a framework based on ActionScript on Flash. ActionScript is very similar to JavaScript, but it has annotations that allow the […]
From Lisp to Vue, React to Qwit: The Evolution of Reactive Programming
Search [Great Move to the World] on WeChat, and I will share with you the front-end industry trends, learning paths, etc. as soon as possible. This article has been included in GitHub https://github.com/qq449245884/xiaozhi, and there are complete test sites, materials and my series of articles for interviews with first-line manufacturers. This post is not about […]