网淘吧Visual Components、Flexsim 仿真技术博客 | Python、C#、Delphi xe 机器人编程教程 - 网淘吧

超棒的BOM插件 - .Net Add-on Programming - visual compents 疑难解答

2026-04-03 新闻来源:网淘吧 围观:1269
电脑广告
手机广告

超棒的BOM插件

.Net 插件编程

Plugin.BOM.dll(35.5 KB)

请试用,应该是不言自明的 →



Capture_2


2 个赞

你好,

能否请提供 zip 压缩包?

谢谢与致意
Feature

1 个赞

Plugin.BOM.zip(15.2 KB)

给你!

1 个赞

你好,我尝试下载了你的插件,解压文件并添加到我的命令文件夹,但似乎找不到它,你能给个建议吗?

致意

1 个赞

你好,

你必须把 dll 文件放到 VC 的安装目录中,然后重启 VC!

致意
Feature

1 个赞

可能是个愚蠢的问题,但那个目录在哪里?
致意

1 个赞

你好,

就是你安装 VC 的位置!
例如:“C:\Program Files\visual Components\Visual Components Premium 4.6”

致意
Feature

1 个赞

谢谢你的帮助,问题解决了。

1 个赞

很棒的插件!
它满足了我对价格计算的一些需求,而原始的 BOM 功能并没有提供。

我有几个建议。

  • 能否增加包含 BOM 描述信息的选项?
  • 能否增加排除不可见项目的选项(即使它们有价格属性)?

同名的组件会在名称末尾加上例如 #2#3 等,并且 BOM 会为它们分别创建条目而不做汇总。其他人也遇到这个问题吗?

这不应该是问题,至少在我的示例中不是,你也可以在上面的截图中看到。请确保所有其他属性都是相同的。

你好,这个插件在 VC 4.10 中能用吗?我成功在我的布局中创建了价格属性,但在点击“从布局创建价格数据”后,出现了以下错误:

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

1 个赞

@line_out 谢谢你的插件。请问有没有支持 VC 4.10 的插件版本?提前感谢。:slight_smile:

1 个赞

完全忘了这个插件。很高兴看到它还在被使用,这里有一个新版本:

Plugin.BOM.dll(35.5 KB)

1 个赞

适用于 4.10 的新版本请见上一条评论。

此版本在 BOM 导出中使用“;”,之前的版本使用“,”。

Plugin.BOM.dll(35.5 KB)

1 个赞

使用方法:很高兴重新整理这个工具,并看到社区从中受益!🚀 ✅ 我最近重新审视了一个大约三年前创建的物料清单插件。我几乎完全忘记了它…… | Christer Ericsson

非常感谢,非常有用。:+1:

1 个赞
免责申明
部分文章来自各大搜索引擎,如有侵权,请与我联系删除。
打赏

文章底部电脑广告
手机广告位-内容正文底部

相关文章

上网淘巴领天猫淘宝优惠券,一年省好几千。

广告  ×

您是本站第853172名访客 今日有0篇新文章/评论