DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Unable to open DWG file. [and useful Paperspace mode discussion]

Started by Blood, May 24, 2012, 06:51:48 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

John R

re:
Quote from: MarkX on June 03, 2012, 02:57:30 PM
In TurboCAD, if I recall correctly, you can dimension in P-space. But I'm not sure that its really better than modeling in M-space.

You could dimension Viewports in TurboCAD as far back as Version 6 (late 90's). 2 years later AutoCAD 2001 finally caught with TurboCAD in that regard. I think it's 50/50 as to users dimensioning the Viewport in Paperspace or dimensioning in Modelspace. If you want a dimensioned Isometric view, then you need to do it in Modelspace. TurboCAD has a "Floating Modelspace" option that lets you go into Modelspace through the Viewport. A nice thing about dimensioning a Viewport, is the program will automatically adjust the dimension scale to the Viewport scale; though it may not seem like it, until the dim is placed.
John R.

Lar

#46
To reiterate:
1] Dcad's Paper Space always automatically updates the contents of view frames once you go to p-space mode. What will not change are entities you created or pasted in while in p-space (well, a Block or referenced Symbol should, but technically they were not created in P-space - also, you can't define a Block in p-space).

2] Paper Space always had the 2 options of fixed scale (called 'specific scale' in dcad) and percentage scale (called 'relative scale').

Points:
a] I think dcad's p-space defaults to 100% relative scale so that a v-frame initially shows everything. At any other scale no telling what will show in any given v-frame.
b] To ensure whatever scale you want shows off the bat:
   (i) ...when creating a new v-frame you click the 'create view frame' button (1st in the p-space toolbar) and a dialog opens... at the bottom of the dialog (that opens fully and is not very tall) you can set whatever you need about the v-frame's scale before dragging the mouse to define the outline of the v-frame. The dialog does not close until the 2nd point is set. Afterwards you will have to select the v-frame and use the info box to change the scale (way at the bottom, like bdeck laments).
   (ii) ...you can duplicate a v-frame that has the scale you want, then make changes as to layers, focus, etc.
   (iii) ...if your files use the same layer setup you can, after creating your first drawing , duplicate the file, rename it, change the drawing in model space then in paper space all your sheets ('layouts') will already be set up. You would just have to re-size and/or re-focus your v-frames to fit the new content. Also change your title block info if it is in p-space.
   (iii) Once you use any of the zooming tools on a v-frame (those found in the p-space toolbar, excluding 'focus' and 'pan') the scale type switches to relative, which makes sense to me. <<Sorry, just retested in v22 and the scale type does not change, just the value>>

The below applies to dcad's p-space prior to v21 (maybe 20 as well, can't remember exactly) The issues have since been fixed:
In my 'Extreme Workaround' of 2006 the problems were that...
(i) dcad's p-space would always automatically center the visible content of v-frames,
and
(ii) empty layers that were turned off in a view frame during a working session would be turned back on at the start of a new session (this also happened in m-space).

What I would do is (essentially) turn off all the layers for a v-frame then turn on the ones I want on. I did this specifically so that if I later created something on a new layer the thing does not show up in unwanted v-frames (I would have to manually turn that layer on for v-frames that needed it).

But guess what: when later starting a new session there the thing was in all my v-frames. <<My work around for this (which I don't think I ever post on the forum) was to run a macro that wrote each layer's number on its layer. This way no layer was empty. It really messed with using the asterisk in the layer dialog to see what layers were used but it was good that I could tell at at glance (in m-space) which layers were on. The numbers were small and out of the way>>

Now, this new thing, if it was placed so that any part is outside of the previous bounds of the drawing, would have caused the center of the drawing to change so in v-frames the contents of the v-frame shifted. If dimensions or notes with arrows were created in p-space they would no longer point at the intended thing. Like I said some years ago: can you imagine a note for 2x4 lumber now pointing to 2x12 lumber. This is a dream come true for a contractor bidding on a project. It would be initially used to generate a good price, then later be used for a change order. Win-win for the contractor. <<I experienced this happening with hand drawings where all but one bidding contractor got a corrected set of blue prints on the Friday before I was leaving on vacation. I left with instructions that the contractor get the corrected set and an explanation of the correction. When I got back the same contractor was already building on the project. Later on the issue came up about wrong lumber size. The contractor eventually agreed to pay the full price for the bigger lumber but he did win the contract on his lower bid price>>

My extreme 'extents box' solution ensured that no matter what was drawn within a reasonable area of the drawings the drawing center did not shift. Really did mess with 'fit to window' while working in m-space but I could always have put it on its own layer and just keep that layer off in m-space. I'm not exactly sure why I put it on the notes layer and not its own layer. If something was ever drawn outside of the extents box I would just double its size from its center. Note that in my 2006 post I said this only made sense for v-frames with specific (fixed) scale... and it always worked perfectly.

Like I said above, these issues and more were fixed since about v21. I now vaguely remember them being addressed in v20 but there was still a problem with focusing v-frames other than those with front view. V21 corrected all the problems.

Lar


bdeck

#47
Quote from: Lar on June 04, 2012, 08:17:21 AM
The below applies to dcad's p-space prior to v21 (maybe 20 as well, can't remember exactly) The issues have since been fixed:
In my 'Extreme Workaround' of 2006 the problems were that...
(i) dcad's p-space would always automatically center the visible content of v-frames,

In the bug I described (in DC 20), when in "Specific Scale" mode, the  +  and - buttons on the paper space tool bar would zoom relative to a miscalculated frame center (apparently the drawing center). On the other hand, if one manually entered a new "specific scale" or "drawing units" number in the info box, DC would scale correctly relative to the frame center.

Has this been fixed in v 22?

BD

Lar

#48
BD, I don't understand your problem.

What do you mean by 'miscalculated frame center'?

Far as I know v-frames are zoomed relative to the focus point. You can see where this is and move it relative to the v-frame by clicking the 'focus' button.

I'm only testing in v22:
What I do, once the type of scale is set, is 'fit to view frame' then 'section zoom' on the area I want, then set the specific scale. This scales the v-frame while maintaining the center of the 'section zoom'. This works for both types of scale, even if they are changes from one to the next. You can test this by 'fitting', then 'zooming' somewhere far off-center. If you then set the scale/type to 100% the entire drawing would not be visible in the v-frame, but you can 'pan' - without changing the scale - so it fits. The focus of 3d v-frames is the center of gravity of the 3d visible content.

I'm not sure it works this way in v20, because the view goes blank and unfixable for most view types (anything other than front, I think). In one of the versions, and I think it's 20, the long term p-space bugs were fixed (unannounced) but some viewing issues were introduced. In the following version these viewing issues were fixed.

Lar

MarkX

Quote from: bdeck on June 04, 2012, 08:44:46 AM
Quote from: Lar on June 04, 2012, 08:17:21 AM
The below applies to dcad's p-space prior to v21 (maybe 20 as well, can't remember exactly) The issues have since been fixed:
In my 'Extreme Workaround' of 2006 the problems were that...
(i) dcad's p-space would always automatically center the visible content of v-frames,

In the bug I described (in DC 20), when in "Specific Scale" mode, the  +  and - buttons on the paper space tool bar would zoom relative to a miscalculated frame center (apparently the drawing center). On the other hand, if one manually entered a new "specific scale" or "drawing units" number in the info box, DC would scale correctly relative to the frame center.

Has this been fixed in v 22?

BD
I'm not sure how to check for this, but it does seem to zoom in/out around some center point rather than the view frame center. Buggy, if not a bug.

Impossible to tell if the "Change Zoom Factor" button actually does anything since there's no on-screen feedback. As far as I can tell, it doesn't change anything.  The Zoom step seemed the same before and after setting it.

The "Set Focal Point" option moves the on-screen object out of focus instead of letting you set a zoom in/out focal point (which is what the name would make you hope it would do).

The Pan doesn't do a smooth pan, but just a point-to-point pan.

No layer dialogs from within PS, so you can't draw and hide, for example, alternate title blocks.

No option to switch to other windows (useful if you're copying over a template from an older drawing).

All in all, a very clunky PS experience. But better than no PS.

Mark

MarkX

#50
Quote from: Lar on June 04, 2012, 09:16:36 AM
BD, I don't understand your problem.

What do you mean by 'miscalculated frame center'?

Far as I know v-frames are zoomed relative to the focus point. You can see where this is and move it relative to the v-frame by clicking the 'focus' button.

Lar
AFAIK, there is no focus button. I think you mean "set focal point" button. But this button doesn't let you change the focal point to some desired part of the drawing. Instead it yanks the drawing off screen, and assigns the focal point in some wrong-headed (its probably not actually random,) place. What you want to happen is for the focal point to simply switch to the targeted point. Then any zoom in/out will happen around that point. But it doesn't work that way, and like BDeck said, the only way to get it to zoom correctly is by changing the scale in the Info Box.

Mark

Edit: Added attachments that show what happens when you attempt to use Set Focal Point. The drawing is moved, and the focal point is now out ... in some seemingly random location. Pointless.

Lar

Like I said back around 2006 and beyond, dcad's paper space is 'not magical like the rest of dcad'.  :'(

Quote from: MarkX on June 04, 2012, 09:20:09 AM
No layer dialogs from within PS, so you can't draw and hide, for example, alternate title blocks.

You can use the gray area outside of the white 'page' area to store things you don't want to be printed. Eg, to print the other title block: select both of them, set a handle on a point of the outside one and move to the same point on the inside one. This will place the the 2nd one exactly where the 1st one was, while moving the 1st one into the gray area. In one of my old tips and tricks I mentioned this method as an alternative to creating different 'layouts'.

Note: this white area is only what is zoomed on when 'fit2win'. To see what's in the gray area you can ctrl+mouse wheel to zoom back.

Lar

bdeck

Quote from: MarkX on June 04, 2012, 09:20:09 AM
All in all, a very clunky PS experience. But better than no PS.

Hi MarkX,
Are you using v22?

From my  V20 docs, I could not discern the intended the function of the "set focal point" button. It appeared intended to perform a task similar to the pan drawing button. In my version, the set focal point button is greyed out and does not appear to do anything, but I can't be certain. The pan drawing button is, as your experience suggests, challenged in the friendliness department. If the pan tool cannot be made interactive, then execution from the f3 repeat button might at least be an improvement.

With working + and - buttons I could get by without pan altogether, but...

Yes, it's better than no PS.

BD


MarkX

Quote from: Lar on June 04, 2012, 09:53:04 AM
Like I said back around 2006 and beyond, dcad's paper space is 'not magical like the rest of dcad'.  :'(

Quote from: MarkX on June 04, 2012, 09:20:09 AM
No layer dialogs from within PS, so you can't draw and hide, for example, alternate title blocks.

You can use the gray area outside of the white 'page' area to store things you don't want to be printed. Eg,
This trick appears to break a layout when saved as a template. Apparently everything in your template is shrunk in order to accommodate the specified page size. In my case, a 11" by 8.5 template was shrunk to a length of 7" !!

I would consider it a very bad bug when and if DC shrinks important objects without asking.

Mark

bdeck

#54
Quote from: Lar on June 04, 2012, 09:16:36 AM
What do you mean by 'miscalculated frame center'?
...
What I do, once the type of scale is set, is 'fit to view frame' then 'section zoom' on the area I want, then set the specific scale. This scales the v-frame while maintaining the center of the 'section zoom'.

Lar,

Thats exactly what I do.

But neither of us would have to use the info box to adjust the scale if the + and  - keys scaled correctly about a non-miscalculated frame center

I would use mainly the fit to view frame, section zoom, and + and -. Maybe pan too if it weren't such a pain in the ass...

If I need a precisely scaled drawing, or if I want multiple view frames to display at the same scale, then the info box is it.

BD


MarkX

Quote from: bdeck on June 04, 2012, 06:15:40 PM
Quote from: MarkX on June 04, 2012, 09:20:09 AM
All in all, a very clunky PS experience. But better than no PS.

Hi MarkX,
Are you using v22?

From my  V20 docs, I could not discern the intended the function of the "set focal point" button. It appeared intended to perform a task similar to the pan drawing button. In my version, the set focal point button is greyed out and does not appear to do anything, but I can't be certain. The pan drawing button is, as your experience suggests, challenged in the friendliness department. If the pan tool cannot be made interactive, then execution from the f3 repeat button might at least be an improvement.
I was using v22 for test purposes. V20 was virtually useless due to a bug that prevents you from being able to set the view appropriately (can't remember the details).

The pan button is useful, though primitive. The "Set focal point" button doesn't seem to do anything worthwhile.

Mark

Lar

#56
I guess the 'set focal point' command was misnamed. It should be 'position focal point'. The focal point is fixed for the drawing content and it appears to be at the center of gravity (for 2d views). It actually is in no way related to the v-frame. The command pans the drawing using the focal point. I think it is only useful in 2d in that it tells you where the center of gravity is, but just selecting a v-frame with point select mode shows the focal point. In a 3d view it would show where the model is rotating around (if using the 'change view settings' dialog to see the the view as it rotates <the point disappears> and it's rotating about a 'weird' point [like it does with Y before the user sets a better focus point] you can 'ok' the dialog [so you keep the change] then click the 'focal' button and you will see where the rotation point is <if point select mode is active the focal point will reappear when you close the dialog>.

To pinpoint the focus (this only works for 2d v-frames): in m-space have nothing other than what will show in a v-frame visible on the screen (with fit2win) then press ctrl+a to select all. Where the big blue handle appears is where the focal point would be. Draw a 2-point line by snapping one point at the handle and the other somewhere within the bounds of the entities. In p-space select the v-frame and click the 'focal' button. The green line will emanate from the 1st point of the line. Go back to m-space and move the 2nd point of the line outside of the bounds of the entities. In p-space the 'focal' command will show that the point has changed. This was another benefit of my 'extents box' trick of 2006: it set the focal point (and centered the drawing) at the center of what you wanted to show in the v-frame. This makes the trick still useful. Just put each extent box on it's own layer, keep the layer off in m-space but have it on for its v-frame. In v20+, once you are satisfied with the view you can delete the extents box if you want. Prior to 20 deleting the box will cause the view to shift.

Unfortunately the focus of 3d views is not exactly at the center of gravity and I haven't figured out exactly how to pinpoint it as yet.

Lar
ps:
Quote from: bdeck on June 04, 2012, 10:24:49 PM
But neither of us would have to use the info box to adjust the scale if the + and  - keys scaled correctly about a non-miscalculated frame center

I would use mainly the fit to view frame, section zoom, and + and -. Maybe pan too if it weren't such a pain in the ass...

If I need a precisely scaled drawing, or if I want multiple view frames to display at the same scale, then the info box is it.
Ok, BD. I did some poking around and I think I now understand what you mean by 'miscalculated frame center'. When you click + or - you naturally expect the v-frame to just zoom centered on the v-frame but it zooms back on the focal point. Then you would expect 'set focal point' to <change the the focal point from the center of gravity> to where you click in the v-frame but it does something unexpected. So you came up with a solution similar to my 2006 idea of using an 'extents box'. Well, I'm not sure how it works in 20 but in 22 the center of the v-frame is used as the focal point when the user changes the scale. In my case a fixed scale is essential (except for perspective views) so after 'selection zooming' on where I want I set the scale to what I need it to be and all is good.

I think I will pull my extents box idea out of the closet, dust it off, downgrade it from an 'extreme solution' to just a 'workaround' and use it to guarantee a focal point exactly where I want it. Then I just create a v-frame with the scale I want and BAM I'm done.

...More poking around reminds me that I actually had a solution back when for 3d views: create a 3d extents box to fit exactly around the bounding box of your desired focus entities (create the box then use resizing handles to fit exactly)... scale the 3d e-box from its center by a large amount... place very tiny pointmarks at 2 opposite corners at all 8 corners and probably group them... delete the e-box. In p-space the 3d v-frame's focal point will be exactly at the center you want. In m-space you can maybe also add a 9th pointmark midway between the other 2 so you have an easy snappable point where the focus would be, for setting a viewing target so you can match v-frame 3d views to m-space 3d views. Sadly, it appears that when rotating the v-frame with the 'change view settings' command it may still not rotate around the focal point.

BD, in many of your recent posts you have a problem with the amount of effort the developers put into fixing p-space. I must say that if said effort was actually expended then all of these quirks whould have been addressed. I'm glad you posted, though, because this p-space discussion has brought up a lot of issues and now DT & Co. will know that they have to be addressed. I was complaining about p-space for many a 40 days and 40 nights but I must have come off like a mad man on the street corned prophesying doom. It wasn't until Rob S joined in on the conversation that something was finally done towards fixing p-space.


bdeck

Quote from: Lar on June 05, 2012, 05:46:41 AM
Ok, BD. I did some poking around and I think I now understand what you mean by 'miscalculated frame center'. When you click + or - you naturally expect the v-frame to just zoom centered on the v-frame but it zooms back on the focal point. Then you would expect 'set focal point' to <change the the focal point from the center of gravity> to where you click in the v-frame but it does something unexpected. So you came up with a solution similar to my 2006 idea of using an 'extents box'.

Actually, my work around might have been less ambitious (extreme?) than yours.

I used an extents box only to solve the default-to-relative-scale-mode  problem (even before I knew DC has a "specific scale" mode). With the box, if I forgot to change a new view frame to "specific scale" mode, the box would protect the scope of the view frame when the model size changed.

One of your recent posts has me now thinking that maybe for my purposes, it is not necessary to make the extents box so big that it negates the value of the fit-to-window command in model space. Make the box a reasonable size, and if the model gets bigger than the box, just use the "=" key to expand the box, and the viewframes remain intact. Thanks.

I have not found a way to work around the deficiency in the + - buttons, other than to use the info box to adjust scale.

Once one gets the hang of it, aper space is kind  of cool, warts and all. When the day comes that I actually have a need to use it, I hope that I can remember the work-arounds to the bugs that caused me so much grief getting started. 

BD