61
BricsCAD Users / Re: How-To Needed: Establishing a Company CUI and Allow Other Customization
« Last post by CEHill on April 21, 2024, 05:12:19 PM »PERFECT!!! I thank you very much, 'Prince'!
Clint
Clint
You can specify the distance after alignment
https://www.theswamp.org/index.php?topic=59245.0
Any ideas why it shows different result when object selected prior running the test function, vs object selected during running the function?probably caused by some internal and thus mysterious reasons
(defun c:xdtb_entrandclr (/ ss clr)
(xdrx-begin)
(if (setq ss (xdrx-ssget
(xdrx-string-multilanguage
"\n选择实体<退出>:"
"\nSelect Entity<Exit>:"
)
)
)
(progn
(mapcar '(lambda (x)
(setq clr (xdrx-math-rand 1 255))
(xdrx-setpropertyvalue x "color" clr)
)
(xdrx-ss->ents ss)
)
)
)
(xdrx-end)
(princ)
)
Command: TEST <--- pre selected spline
_getNumPoints: 1030
_getPoints: 542
Command:
Command: TEST <-- nothing pre selected
Select objects:
_getNumPoints: 68
_getPoints: 37