Jump to content

Creating Viewports in Templates?


cronos47

Recommended Posts

Maybe I'm using the wrong terminology, but I can't find a simple answer to this question on google so far. I am trying to make a new template, and I made a block that included our title block, set up the page preferences, added a viewport to it, and saved it as a DWT. However when I create a new drawing based off of that template, I try to go into the model space from paper space (so I can position it to show what is in the model space, it complains:

 

There are no active Model space viewports.

 

Which is quite annoying because I did indeed create one. Am I not able to put a viewport into a template and expect it to be used in a normal drawing? Do I have to make my own viewport each time I load a new drawing based off of the template?

 

So, why is this saying my viewport isn't there, and how can I fix it?

Link to comment
Share on other sites

As I know you can not open view port in a block, so yes you should create new view port if you want to show your solid into paper space.

 

I always do this for my shop drawings too. Recreate the view port above the template block.

Link to comment
Share on other sites

It's not saying your viewport isn't there, just that it's inactive. Viewports act like this when opened from a template, or cut & pasted between drawings / layouts. You have to select your viewport outline, right-click, and set "Display Viewport Objects" to Yes.

Link to comment
Share on other sites

It sounds like your viewport is part of the block, which you don't want. If the viewport is set in the template file then it should work when using it to start a drawing.

 

Do you have that file specified to be used when creating a file or do you navigate to it each time when starting a new drawing?

Link to comment
Share on other sites

It's not saying your viewport isn't there, just that it's inactive. Viewports act like this when opened from a template, or cut & pasted between drawings / layouts. You have to select your viewport outline, right-click, and set "Display Viewport Objects" to Yes.

 

I don't know about cronos47's template but this is mine.

TEMPLATE.jpg

template.dwg

Link to comment
Share on other sites

ica_cici, what rkent says is correct:

 

It sounds like your viewport is part of the block, which you don't want. If the viewport is set in the template file then it should work when using it to start a drawing.........

 

You have your viewport included within the block that makes up your border and title block, so it won't work without exploding that block.

 

But reading through cronos47's post, I believe they have a viewport contained in the template which is not part of a block, in which case my original advice would make it active. However, until they confirm this, it's all just supposition and guesswork on our part. :unsure:

Link to comment
Share on other sites

 

...But reading through cronos47's post, I believe they have a viewport contained in the template which is not part of a block, in which case my original advice would make it active. However, until they confirm this, it's all just supposition and guesswork on our part. :unsure:

 

 

Yeah you are right bonehead411, just wait for the confirmation.:)

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