raj Posted November 2, 2011 Posted November 2, 2011 HI, I have a problem like i am inserting a block which consist of dimensions of some style--say height of 2 but when i insert my block i want the block to be inserted in such a way that so when i scale my block 2 times the height changes to 4 but i need it to change to 10 i used dimscale to increase the dimension but it was not getting updated when inserted (defun C:nm() (setq bp (getpoint "Pick a Point on Screen")) (setq sc (getreal "Enter the Scale Required")) (setq th (getreal "Enter the Text Height")) (command "DIMSCALE" th) (command "insert" "nameplate" bp sc sc 0 ) ) inputs are point ---picked scale x,y,z---2 text height= dimscale---10 Can some one help me how to do this i have also attached a drawing file in reference to it Thank you in advance raj Quote
pBe Posted November 2, 2011 Posted November 2, 2011 (edited) Look into Annotative Dimstyles For example Insert this file on your drawing Click on Annotation tab (lower right of your menu) 1:10 nameplate.dwg Edited November 2, 2011 by pBe Quote
raj Posted November 2, 2011 Author Posted November 2, 2011 i was not able to understand what u asked me to do i want to change the dimheight to the style of dimension as i also have other part drawing in the same sheet so if i change as a globally the whole drawing changes but in my drawing sheet all the other dimensions will have same properties Quote
raj Posted November 2, 2011 Author Posted November 2, 2011 i tried out the way u asked me to do it worked out can u tell me how did u do Annotative Dimstyles i was looking for it but ..... Please can u help me out with this Quote
SLW210 Posted November 2, 2011 Posted November 2, 2011 raj, Please read the CODE POSTING GUIDLINES and edit your first post. Quote
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.