Jump to content

A question about dimlinear


danyra
 Share

Recommended Posts

I want to do a dimension since the P4 P9, like in the image 2, but I wrote like you can see below and the dimension its going up(like in image 1) , I want it to go to the right! Please help, what i am doing wrong?

 

(and 
      
 (vl-cmdf "_DIMLINEAR"  p4  p9 (mapcar '+ p9 (list 0.15 0.45 )) ) 
)

(princ)
  )

1.png

2.png

Link to comment
Share on other sites

You can either of the following as you wish.

Disable your OSMODE settings then enable it back after creating the dimensions , or add "_none" before P4 and P9 and point that position the text position to ignore the OSMODE settings without disabling and enabling them before and after dimensioning.

Link to comment
Share on other sites

12 minutes ago, Tharwat said:

You can either of the following as you wish.

Disable your OSMODE settings then enable it back after creating the dimensions , or add "_none" before P4 and P9 and point that position the text position to ignore the OSMODE settings without disabling and enabling them before and after dimensioning.

 I set it as you said me but doesnt work, the outcome is the same...

 

(and 
      
 (vl-cmdf "_DIMLINEAR" "_none" p4 "_none" p9 (mapcar '+ p9 (list 0.15 0.45 )) ) 
)

(princ)
  )

Link to comment
Share on other sites

You would need to use"_none" 3 times since you are working with 3 points. Also: after the 2nd point you have the option to enter "_horizontal" or "_vertical".

Edited by Roy_043
Link to comment
Share on other sites

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

 Share

×
×
  • Create New...