Jump to content

program to apply dimstyle (Scale dimensions to Layout)


andrew10

Recommended Posts

I use .NET and RealDWG to create a drawing. All the dimentions are inserted to Modal Space with dimstyle which was configured by "Scale dimensions to layout". On the drawing we have a layout and I program to change the viewport scale based on the drawing size. The viewport scale works fine but the dimentions does not follow the viewport scale even we setup "Scale dimensions to layout". Basically it makes sense since the dimentions are inserted into Modal Space. Now the users have to double click the layout to entering modal space, then click "update dimension" button to update dimensions after they change layout view port scale.

Two questions are below:

1. Can we insert objects to Modal space based on the view port scale (dimstyle has been setup to "Scale dimensions to layout").

2. Can we program to update dimentions after we change viewport scale (same function as -DIMSTYLE command in AUTOCAD).

Any help will be much appreciated

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