Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi all,
I have created the following drawing program to relate part parameters to drawing.
PRODUCT:D=PRODUCT:0
REPLACES:D=REPLACES:0
REFERENCE_DRG:D=REFERENCE_DRG:0
MATERIAL:D=MATERIAL:0
SURFACE_PROTECTION:D=SURFACE_PROTECTION:0
WEIGHT:D=WEIGHT:0
OPP_HAND_DRG:D=OPP_HAND_DRG:0
REMARKS:D=REMARKS:0
PROJECT_NAME:D=PROJECT_NAME:0
DESIGN_GRP:D=DESIGN_GRP:0
DESCRIPTION:D=DESCRIPTION:0
On running this on the drawing of first part, it relates the parameters properly.
But after starting a new drawing for a new part, it does not relate at all.
Error displayed is "Program contains error"
Pl help
Hi Tushar,
There is no need to use a drawing program to relate part parameters to the drawing. You just fill in e.g. &PRODUCT in the format or note and the drawing recognizes the model parameter value. If you fill in &PRODUCT:D it will display the contents of the drawing paramet "PRODUCT".
If you have a multiple model drawing, make sure the correct model is the active model during the creation of the note.
The extension ":0" refers to the session ID and depends on the order of bringing the models in session.That is probably why the program returns an error, it can not find the parameter &PRODUCT:0 in the drawing model since the session ID is incorrect.
The sessionID can be found throug assembly mode (relations, show, session ID, name; select name from session). The model you select to view the session ID does not have to be part of the assembly.
hope this helps.
greetings,
Patrick Brulot