Jump to content

Recommended Posts

Posted

Hi everyone

i wrote a script to draw 2 pLine and put dimension over them but i have problem with dim line offset.

i dont understand effect of value given by command after picking start/end ponits of dimension.

i've tried -1 or 0.5, but every time i load script place of dimension line is vary.

my script is attached.

thx for your help :smileywink:

orthomode
0
osmode
0
pline
0,-1
w
0.03
0.03
6.894,-2.216

pline
6.894,-2.216
w
0.11
0.11
12.803,-3.257

_dimaligned
0,-1
6.894,-2.216
-0.2
(command)
(command)
_dimcontinue
12.803,-3.257
(command)
(command)
_dimaligned
0,-1
12.803,-3.257
-0.5
(command)
(command)

Posted

That query is for location of dimension line - by inputting a number, that means a displacement in the current direction of cursor, which may vary from a call to another.

Please try to input a point instead.

...
_dimaligned
0,-1
6.894,-2.216
[color=red][s]-0.2[/s]
[/color]3.621, -0.623
...

Posted

thx dear MSasu :roll:

that'll fix my problem, so i should rewrite my script :D

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...