DrawingView has zero width & height - need help VBA

DrawingView has zero width & height - need help VBA

Anonymous
Not applicable
563 Views
4 Replies
Message 1 of 5

DrawingView has zero width & height - need help VBA

Anonymous
Not applicable

Hi to Community.

I have a section view, but I don't. 🙂

In an .idw document, in a sheet there is a base view and a sub section view of it. I call this (section view) sub view as drawing view in this post. 

Height and width values of drawing view object are 0 (zero). There is a crop for the drawing view. I didn't manually edit the sketch of the crop. It should have a for lines rectangle, but there is nothing inside the sketch of the crop. When I assign drawing view to a variable and add it to watch window I see that width & height values of the drawingview are zero, the sketch of the crop has four line entities and all lines are planer and  they form a regular rectangle which is nonzero height & width.

Please advise, suggest me something; what to check and what to do; by UI or by code. To delete the crop and then recreating it solves the problem but there ara some detail views and dimensions, notes, etc. related to the cropped 😛 view. Thanks in advance.. Smiley Happy

P.S. There are some screen captures attached to the post.

0 Likes
564 Views
4 Replies
Replies (4)
Message 2 of 5

bradeneuropeArthur
Mentor
Mentor

What happens when you delete the crop?

(First make a copy of the drawing!!)

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

Message 3 of 5

Anonymous
Not applicable

Hi.

When I delete the crop "Section view of A-A" appears.

Sketch of the crop makes the drawing view zero width and height.

In UI there is no entity in the sketch of the crop.

In object properties displayed in IDE's watch window there are sketch entities (lines and constraints) that form the rectangle of the crop sketch and they are not zero length.

Section view A has manuel scale (not scaled from base)

Section view A is not full lenght - crossing cut of its origin.

Section view A is shaded and hidden line removed view. 

And it's my Heart view.

Thanks. Smiley Happy

 

 

0 Likes
Message 4 of 5

bradeneuropeArthur
Mentor
Mentor

Could you upload the dwg file?

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 5 of 5

Anonymous
Not applicable

Hi.

Thank you for giving time. It is no longer important. I just delete the crop, but couldn't find the reason. May be it was my mistake, or I missed something, or a bug. Let's not spend time any more. Thanks again. 🙂

0 Likes