PDA

View Full Version : Auto Update of Objects



tyler.moore
02-02-2007, 10:43 AM
Hey People,

First time poster. I have been off 8.6 for a while and am having some troubles remebering the customizations i did a while back. This has to do with modifiying relationships and 2D3D tables to automatically change to the proper item when selecting a line number. Right now the designers still have to manually pick the servies, size, spec. This is not a good way of doing things as this leaves way to many options for user error.

For example

SW-40001

SW (service)

40001 (2 items making up line number)

How do I get the service to automatically change in the 3D app to reflect the service registered in the process table under PSERV?

We also had it so the main size, spec, insulation attributes all updated with the line number.

I know you have to modify the 2D3D tables and add the relationships but I am sure I am missing a step.

Thanks everyone that can help

BentleyGuy
02-12-2007, 09:33 AM
I am not sure what you are trying to do. I passed the info on to a friend who is pretty good at this sort of thing. Hope to hear back from him soon!

tyler.moore
02-13-2007, 08:09 AM
Thanks for your help. I look forward to hearing something. Its driving me crazy trying to get that to work again.

Peter
04-04-2007, 08:03 AM
Add this to your .mnl file
When u pick the line / pipe it will change to the items below to match the line picked.
Change as you please to suit your needs

command - "at_Component_setAll"
add to menu or icon / toolbar


enjoy

;//************************************************** ********
(defun c:at_Component_setAll ()
(setq comp (at_component_select)
spc(at_component_getstring comp "SPEC")
size(at_component_getstring comp "MAIN_SIZE")
lineno(at_component_getstring comp "LINENUMBER")
inslspc(at_component_getstring comp "INSULATION")
inslthk(at_component_getstring comp "INSTHICK")
serv(at_component_getstring comp "SERVICE")


)
(at_PipingSystem_setVariable "SPEC" spc)
(at_PipingSystem_setVariable "NOMINAL" size)
(at_PipingSystem_setVariable "LINENUMBER" lineno)
(at_pipingsystem_setvariable "INSULATION" inslspc)
(at_pipingsystem_setvariable "INSTHICK" inslthk)
(at_pipingsystem_setvariable "SERVICE" serv)


)
;//************************************************** *********

Apog
05-16-2007, 02:32 AM
can you help me, i have line in 2d PID with size, service and so on. How i can insert this line using 2d to 3d tool and get in piping 3d Component Preferences update servise??? thanks!

Peter
02-12-2010, 06:45 AM
Left and was on project coordination back and also trying to get into the swing again

WiZardOz
02-14-2010, 04:33 PM
tyler.moore

It is controlled by the FEILDMAP2D3D Table, I have attached a screen dump of the default values from the XM Sample Metric Project

The Component Preferences Automatically updates like you want out of the box for XM :)