CTC 发表于 2012-4-22 18:55:25

★★★Autolisp Files(二)(无隐藏,源码可右击另存为)★★★

上网淘得源码,介绍如下
(不搞隐藏,喜欢可直接右击另存为):


[*]
[*]acad.lsp Instruction on the usage
[*]acaddoc.lsp Instruction on the usage
[*]accdist.lsp Accumulate distances to
[*]AecExportToAutoCAD.lsp Read and write the settings that
AecExportToAutoCAD and the like command uses
[*]AECObjectsExplodeOptions.lsp Read and write the settings in the
"Explode AEC Objects" dialog box when using command _AecObjExplode
[*]AreaM.lsp Calculates the total area of selected objects
[*]areaOfObject.lsp Returns the area of selected object
[*]AreaText.lsp Select a polyline and where to place the text for the area
[*]AttDefToMText.lsp Convert Attribute definitions to MText
[*]AttDefToText.lsp Convert Attribute definitions to Text
[*]axBlock.LSP Generic block and attribute AutoLISP functions
[*]axCreateVP.LSP Creation of viewports using AutoLISP
[*]axInsert.lsp Example of inserting a block with ActiveX in modelspace
[*]backgroundchanger.lsp Change the background color back and forth
[*]BlockToXref.lsp Convert Blocks to Xrefs
[*]BOMLengths.lsp Get the accumulated sum length of multiple objects
[*]CAO_Link_Templates.lsp Create/delete Link Templates using CAO
[*]ChangeNoPlottableLayers.LSP move all entities from layers that are not
plottable to layer defpoints
[*]dimlinechange.lsp Changes selected line on a dimension to current layer
[*]DisplayColorProperties.lsp Miscellaneous commands related to Colors
on the Display tab on the Options dialog

[*]DisplayProperties.lsp Miscellaneous commands related to the Display
tab on the Options dialog

[*]DLF.lsp Delete AutoCAD layer filters
[*]GetPlotDevices.lsp Generic plot setting functions to get
plot styles and plotters available
[*]getvpscale.lsp Get Viewport Scale in active viewport or in selected
[*]Hatch_Move.lsp Moves the startpoint/snapbase for selected hatches
base points independently
[*]HATCHB.LSP Recreates hatch boundary by selecting a hatch
[*]HatchBase.lsp Change the hatch base point on one or many hatches
[*]historylines.lsp Change the number of command history lines
[*]insrot.lsp 2 versions of Insert block with attribute rotated to specified angle
[*]JTB_TitleBar.lsp Change the title bar of the AutoCAD application
[*]layer-list.LSP Layer list to file
[*]layer-lw-list.LSP Layer and lineweight list is created as a drawing
[*]layers-erase.LSP Erase all layers that are frozen or off

[*]layer-state.LSP List layers according to state
[*]layer-toggle-freeze.lsp toggle the freeze state of layer and
regens only the objects on the layer
[*]LayoutsToDwgs.lsp Creates separate drawings of all layouts
[*]lenghtOfObject.lsp Returns the lenght or the perimeter of selected object
[*]linetype.LSP Load linetype and check for existence of specified linetype
[*]mpt.lsp Midpoint of 2or 3 points
[*]pagesetup.lsp Miscellaneous routines related to Page Setup
[*]PersonalMtextSymbols.lsp Add personal mtext symbols in the
right click menu in the mtext editor
[*]pljoinfuzz.lsp Joins lines, arcs and polylines using a fuzz distance
[*]PlotDevicesFunctions.lsp Miscellaneous Plot Devices Functions
[*]plotdialog.lsp Force Plot dialog by lisp
[*]profiles.lsp Miscellaneous profile commands
[*]ProjectPaths.lsp Project path functions including export to file
[*]Purge-Point.lsp Kills all POINT 5 vent-objects and V50-dictionaries
[*]purger.lsp Various purge functions with no command line echo
[*]PurgeReconciledLayers.LSP Purge all information about
reconciled layers in the drawing
[*]remicons.lsp Removes the icons Buzzsaw, RedSpark, Point A
and FTP in Open dialog box
[*]SOpen.lsp Open command that works for all cases independent on SDI
[*]supportPaths.lsp Save and loads support paths to a text file
[*]TextFunctions.lsp Change all text styles on all objects to named text style

[*]TextHeight.lsp Text is resized based on the justification point
[*]tsh0.lsp Set all text style's height to 0
[*]txtRot.lsp Rotate selected text objects to specified angle
[*]viewportcenter.LSP Get the viewport center coordinates
[*]viewsIO.LSP Export and import views
[*]VPlayers.lsp Save, load and restore frozen viewport layers from file and
match from one viewport to another
[*]vp-outline.LSP Creates a polyline in modelspace that has the
outline of the selected viewport
[*]vpsel.lsp Select all visible objects in selected or active paperspace viewport
[*]XrefRename.lsp Rename xref and update path
[*]XrefRepath.lsp - Repath xrefs to use relative paths instead of absolute paths.
[*]zoome.lsp Zoom extents in all viewports
[*]Download acetutil.zip Documentation for the Express acet functions
[*]wcmatch AutoCAD AutoLISP function
[*]Some free AutoLISP code by Mark Beggs


http://bbs.mjtd.com/xwb/images/bgimg/icon_logo.png 该贴已经同步到 CTC的微博

vlisp2012 发表于 2012-4-22 19:15:24

楼主费心了。非常那个感谢!!!!

xiaxiang 发表于 2012-4-22 19:38:16

www.jtbworld.com
这个里面源码很多,学不过来啦

smartstar 发表于 2012-4-22 20:09:49

收藏,学习!

功夫佬 发表于 2012-4-22 20:21:15

又学了很多的代码了

chpmould 发表于 2012-4-22 21:00:54

不错的例子

sqqr 发表于 2012-4-22 21:28:25

全英文的,看起来费劲

friendship 发表于 2014-1-6 22:52:55

不能下载了
页: [1]
查看完整版本: ★★★Autolisp Files(二)(无隐藏,源码可右击另存为)★★★