chavlji Posted March 22, 2011 Share Posted March 22, 2011 I would like to write a program that is able to move dim baseline (line with a length text) of a dimension (aligned or linear). So I would like to leave definition points (points attached to objects) intacked, only move the dim baseline. Line if you click on one edge of dim baseline and drag it somewhere. I tried this but it doesn't work: (setq Ent (EntGet EName) Ent (PutProperty 10 (MovePt (GetProperty 10 Ent) dx dy) Ent)) (entmod Ent)))) MovePt is my function that moves point for dx, dy. PutProperty and GetProperty are my procedures based on assoc function... Any idea why it is not working? Quote Link to comment Share on other sites More sharing options...
chavlji Posted March 23, 2011 Author Share Posted March 23, 2011 The upper code works fine for NON ANNOTATIVE dimensions. But it dimension is created using annotative style it doesn't work. Should I change something in the dictionary? Quote Link to comment Share on other sites More sharing options...
chavlji Posted March 23, 2011 Author Share Posted March 23, 2011 I've read that first I have to get current anno scale. I can do this. Then I have to search (in the dictionary?) for entity that is used for this scale and change it. Can anyone tell me how to find this entity? Quote Link to comment Share on other sites More sharing options...
chavlji Posted March 24, 2011 Author Share Posted March 24, 2011 Anyone? please Quote Link to comment Share on other sites More sharing options...
pBe Posted March 26, 2011 Share Posted March 26, 2011 Anyone? please perhaps you can rephrase your question or better yet post an illustration Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.