Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iLogic rule for supressing a view on a drawing if the document is an assembly

1 REPLY 1
Reply
Message 1 of 2
Aldred
214 Views, 1 Reply

iLogic rule for supressing a view on a drawing if the document is an assembly

Aldred
Advocate
Advocate

Hi Everyone,

 

If someone can help it would be greatly appreciated.

 

I have an external ilogic rule that automatically creates a drawing and then places 5 views.  The fifth view is the flat pattern view of a sheetmetal part.

 

I also run this rule when I create drawings for assemblies.

 

Is there anyway that if the drawings are being created from an assembly and not a sheetmetal part we can tell through ilogic that view 5 should not be created.

 

I have attached the rule.

 

Thanks

 

Aldred

0 Likes

iLogic rule for supressing a view on a drawing if the document is an assembly

Hi Everyone,

 

If someone can help it would be greatly appreciated.

 

I have an external ilogic rule that automatically creates a drawing and then places 5 views.  The fifth view is the flat pattern view of a sheetmetal part.

 

I also run this rule when I create drawings for assemblies.

 

Is there anyway that if the drawings are being created from an assembly and not a sheetmetal part we can tell through ilogic that view 5 should not be created.

 

I have attached the rule.

 

Thanks

 

Aldred

1 REPLY 1
Message 2 of 2
asiteur
in reply to: Aldred

asiteur
Collaborator
Collaborator

Hi,

 

How about:

 

 


If oDoc.DocumentType<>"kAssemblyDocumentObject" Then 'Make Sheet Metal View End If

 



Alexander Siteur
Project Engineer at MARIN | NL
LinkedIn

Hi,

 

How about:

 

 


If oDoc.DocumentType<>"kAssemblyDocumentObject" Then 'Make Sheet Metal View End If

 



Alexander Siteur
Project Engineer at MARIN | NL
LinkedIn

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report