Jump to content

AutoCAD Architecture Script...Selecting 3D solid edge


Recommended Posts

Posted

I have a 3D solid with a hole through the center. I would like to select the edge of the hole and apply a fillet but I don't seem to be able to get it to work.

The lines below are contained in my .SCR Notepad file. There is 2 blank lines at the end of the script.

 

fillet
radius
0.86603
0,6.48445669243112,13

 

When I run the script AutoCAD returns the information below.

 

Command: scr
SCRIPT
Command: fillet

Current settings: Mode = Trim, 
Radius = 0.87

Select first object or 
[undo/Polyline/Radius/Trim/Multiple]: radius

Specify fillet radius 
<0.87>: 0.86603


Select first object or 
[undo/Polyline/Radius/Trim/Multiple]: 
0,6.48445669243112,13

Enter 
BACKSPACE to interrupt script.

Command:
FILLET
Current settings: 
Mode = Trim, Radius = 0.87

Select first object or 
[undo/Polyline/Radius/Trim/Multiple]:

 

If I run the script line by line then it works so what am I doing wrong?

 

Tony

Posted

So I don't waste anyone's time I have now found the solution by replacing "FILLET" with "_.FILLET"

 

I'm stiil not sure why this works but it works.

Posted
So I don't waste anyone's time I have now found the solution by replacing "FILLET" with "_.FILLET"

 

I'm stiil not sure why this works but it works.

R.K.McSwain has explain the differences in the "[COMMAND]" with "_.[COMMAND]" before but I have forgotten the exact explanation. It might still be up on his blog, CAD Panacea, if you're curious enough to search why. Maybe even a Google search?

 

Just thought I'd share in case you're interested. :)

Posted

I know that the underscore has something to do with different language packs but have never seen the period after the underscore.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...