Place Rev Cloud with LSP

Place Rev Cloud with LSP

cslatteryAXGRE
Advocate Advocate
291 Views
2 Replies
Message 1 of 3

Place Rev Cloud with LSP

cslatteryAXGRE
Advocate
Advocate

I have an older LSP for placing the Rev Cloud. When using it and checking properties on the Rev Cloud, there is no option to change the arc length after it is placed like there is if the Rev Cloud tool was used. Does anyone have any ideas on how to do it so the arc length appears in the properties dialog or on the right click menu?

 

This is for a rectangular cloud.

 

(defun C:RCR ()
(initcommandversion 2)
(setvar "revcloudcreatemode" 1)
(command "revcloud" "S" "N" "A" ".25" "")
;;;Pause for user input:
(while (= (logand (getvar "cmdactive") 1) 1)
(prompt "\nDraw RevCloud\n")
(command pause)
)
;;;end of Pause
(command "Pedit" "_L" "_w" ".03125" "")
(c:StpRevLayer)
(princ)
)

 

0 Likes
Accepted solutions (1)
292 Views
2 Replies
Replies (2)
Message 2 of 3

komondormrex
Mentor
Mentor
Accepted solution

check this correction, works for me.

(defun C:RCR ()
	(initcommandversion)
	(setvar "revcloudcreatemode" 1)
	(command "revcloud" "S" "N" "A" ".25")
	;;;Pause for user input:
	(while (= (logand (getvar "cmdactive") 1) 1)
		(prompt "\nDraw RevCloud\n")
		(command pause)
	)
	;;;end of Pause
	(command "Pedit" "_L" "_w" ".03125" "")
	(c:StpRevLayer)
	(princ)
)

 

0 Likes
Message 3 of 3

cslatteryAXGRE
Advocate
Advocate

That did it. Thanks.

0 Likes