Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do I determine if an object does not exist?

0 REPLIES 0
Reply
Message 1 of 1
jpblower
187 Views, 0 Replies

How do I determine if an object does not exist?

I have optional variables but no way of determining if a variable was passed. I tried to use Public Sub DoSomething(optional oPart as ComponentOccurrence) if oPart Is Nothing Then ...... I get errors saying I can't do that and that Is Nothing doesn't work for that variable. How else would I do such a thing.
Tags (2)
0 REPLIES 0

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

Post to forums  

Autodesk Design & Make Report