- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is it possible to detect Inventor mirror from events? At least the "OnNewDocument" event is fired but that does not seem to have the information about mirroring. Any other ways to detect mirroring than events?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Do you want to find the Mirror Feature in a Component?
Regards
B.Sharan Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
You could try to catch the command that is excuted. You can track it with the eventwatcher tool
Inventor SDK
The Inventor SDK is installed by default when you install Inventor. It contains additional sample programs and tools to use when programming Inventor. The SDK is installed in one of the following locations:
Win7 -C:\Users\Public\Documents\Autodesk\Inventor <version>\SDK- WinXP -
<Inventor install folder>\SDK
When installed, the SDK folder contains three files; DeveloperTools.msi, UserTools.msi, and SDK_Readme.htm. To access the SDK information you need to install one or both of the .msi files, which can be installed by double-clicking the .msi file in Explorer.
Tools
This folder contains two programs that are useful utilities when working with Inventor's API.
The first, called EventWatcher, allows you to specify and watch certain events as they occur within Inventor. This tool is very useful when you're writing a program that will be using events within Inventor. You can use this tool to better understand the event behavior so you can know how to take advantage of it within your programs.
http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=1079044
please feel free to "kudos"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Checking mirror feature from the component would help. Then I could check from the new component whether it is mirrored component. How can I do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
You need to Check the Part / components Mirrored in Assembly is it?
Checking the Mirror Feature will help you only inside the Part / Component, it'll not reflect when the Part / Component is mirrored in Assembly.
Regards
B.Sharan Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Well knowing if the part is mirror in assembly would help.
What I would actually need is to find a way to check if the new occurrence from "AssemblyEvents.OnNewOccurrence" event is mirror.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Anyone? It looks that "MirrorFeatures" under "Definitions" is always pretty much empty. Any other place from where I could check if the component is mirrored?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
It looks that the _AssemblyDocument nor the ComponentOccurrence knows anything about this. I will rely on commandmanagers activecommand to check which command is being run and act based on that.