Awsome BOM add-on

Plugin.BOM.dll (35.5 KB)

Please try it out, should be self explanatory →


Capture_2

2 Likes

Hy,

please can you provide it as zip?

Thx & Regards
Feature

1 Like

Plugin.BOM.zip (15.2 KB)

here you go!

1 Like

Hello, I tried to download you add- on i extracted the file and added to my commands, i cannot seem to find it, could you advise

regards

1 Like

Hy,

you have to put the dll in VC’s installation directory and restart VC!

Regards
Feature

1 Like

Probably a dumb question but Directory wheres that?
regards

1 Like

Hy,

it’ there where you have installed VC to!
Example: “C:\Program Files\Visual Components\Visual Components Premium 4.6”

Regards
Feature

1 Like

thank you for your help got it sorted

1 Like

Great add-on!
It fits some needs that I had for pricing which the original BOM did provide.

I have a couple suggestions.

  • Could you add an option to include BOM description?
  • Could you add an option to exclude items that are not visible (even if they have a Price property)?

The components with same name will have for example #2, #3, etc at the end of their name and BOM is created seperately for them and not making a sum. is that an issue also for others?

That should not be the case, at least was not in my example, as you can check above also. Please make sure all other properties are identical.

Hi, does the add-on work in VC 4.10? I managed to create the price properties in my layout, but after I select Create Price Data from layout I get the following error:

Unhandled exception occurred:System.MissingMethodException: Method not found: ‘System.Windows.MessageBoxResult VisualComponents.UX.Shared.VcMessageBox.Show(System.String, System.String, System.Windows.MessageBoxButton, Boolean)’.
at BOM.BOMViewModel.CreateDefaults()
at VisualComponents.UX.Shell.AppBootstrapper.OnInvokeAction(ActionExecutionContext context)
at Caliburn.Micro.ActionMessage.Invoke(Object eventArgs)
at System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)