几何尺寸与公差论坛

 找回密码
 注册
查看: 913|回复: 0

【转帖】how do i overwrite an existing custom property value

[复制链接]
发表于 2009-4-12 21:10:13 | 显示全部楼层 |阅读模式
how do i overwrite an existing custom property value?
i would like to force a custom property to be overwritten when the user runs the macro.
for example:
the custom property drawnby is already defined in the drawing and i want the user to be able to run the macro and have it overwrite either a blank field or some existing data in the drawnby value field. the macro i have will add the data to the value field if the drawnby property does not exist but it will not overwrite the value field if the property does exist.
any help is appreciated.
jody
sw can't overwrite customproperty, so delete it and add new with same name
custompropertymanager:: delete
edited: 01/22/2009 at 05:19 pm by ivana kolin
custompropertymanager::set will set an existing custom property value.
wayne matus
texas engineering systems
jody,
i have seen a macro by declan mctiernan which can overwrite the custom as well config properties./ not able to locate it now.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 10:03 , Processed in 0.081855 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表