I'm trying to implement the Minimap3DExtension and used this Blogpost for it (I know i'm a bit late to the party).
I can run the basic setup like in the blog post but unfortunately I can not find any options on how to customzie it. I was scanning a bit the source code from the aec extension and found that I can set the following options:
sideBySideOptions: {
sideBySideDefault: boolean;
};
But are there any more options? Especially, I'm looking for the following options/customizations:
- How to set an inital widht/height for the side by side view
- How to trigger the minimap own my own (currently I have to start the BIM Walk extension to trigger it, but I would like a custom trigger)
- How can the minimap handle models loaded after the inital load, e.g. if I load one myself afterwards
- Can I import custom files into the Minimap?
I'm trying to implement the Minimap3DExtension and used this Blogpost for it (I know i'm a bit late to the party).
I can run the basic setup like in the blog post but unfortunately I can not find any options on how to customzie it. I was scanning a bit the source code from the aec extension and found that I can set the following options:
sideBySideOptions: {
sideBySideDefault: boolean;
};
But are there any more options? Especially, I'm looking for the following options/customizations:
- How to set an inital widht/height for the side by side view
- How to trigger the minimap own my own (currently I have to start the BIM Walk extension to trigger it, but I would like a custom trigger)
- How can the minimap handle models loaded after the inital load, e.g. if I load one myself afterwards
- Can I import custom files into the Minimap?
1 Answer
Reset to default 0Unfortunately, this is all that seems to be possible:
let ext = NOP_VIEWER.getExtension("Autodesk.AEC.Minimap3DExtension") // Minimap should take 75% of the screen: ext.setSideBySideSplit(75)
Planning to introduce an enableAlwaysOn
option later on which says:
When enabled, minimap can be used outside of BIM-Walk. This option also adds a button on the main toolbar, to minimize/expand the minimap.