几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   【转帖】value in value in custom property (http://www.dimcax.com/hust/showthread.php?t=5866)

yang686526 2009-04-13 03:13 PM

【转帖】value in value in custom property
 
value in value in custom property
in custom property i want to write: "rd1@drawing
you're right. it doesn't work. i haven't found a way to get sw to "nest" these variables/values.
why are you trying to put the filename in there? "rd1@drawingview1" evaluates just fine without the "@part1.slddrw" unless you're actually trying to link a property in one file to a dimension in another.
-handleman, cswp (the new, easy test)
ok, thanks for the answer. i want to make a bom of several rd-values, all with same name in different parts.
btw,
do you know a way to get a edge length into custom property, without set a dimension. i have very many parts, and just want change it from the task scheduler (update custom property)
no, nothing has changed in the last two weeks to make it possible to link a line's length to a custom property without a dimension.
custom property links are also only one-way. custom property values can be driven by dimension values, but dimensions cannot be driven by custom properties. the only way to change model dimensions based on custom properties is to use an equation. the left-hand side of the "=" sign should be the dimension you want to change. the right-hand side should be the custom property name in quotes.
-handleman, cswp (the new, easy test)


所有的时间均为北京时间。 现在的时间是 12:35 PM.