parameter in title block

parameter in title block

samspade
Advocate Advocate
947 Views
10 Replies
Message 1 of 11

parameter in title block

samspade
Advocate
Advocate

Hi folks.

can't figure out where i am getting this wrong... i want to create a single file for all assemblies i create for a job so that i can put information in it that is the same for the whole job - job name, number, finish to be exact. I then want to export xml and then import xml to each assembly drawing for the folder. That part was very easy. now, i want to put those values into the title block, which i thought was a no brainer as i have placed custom iProperties in my title block on a regular basis. I can't get it to fill the value, however, my title block reads <JOBNUMBER> where it should be the value of the parameter JOBNUMBER.

 

methinks this is just a late in the week brain meltdown, but can anyone provide me the simple solution? in short, how do i get a custom iProperty to fill in with a  parameter value... and get it into my title block?

 

btw - i am familiar with editing the titleblock and selecting custom properties to pull from the list of properties

 

thank you in advance for any light you may be able to shed.

 

 

0 Likes
Accepted solutions (1)
948 Views
10 Replies
Replies (10)
Message 2 of 11

Anonymous
Not applicable

The iProperty must read =<JOBNUMBER>

0 Likes
Message 3 of 11

samspade
Advocate
Advocate
Yes, that was how I wrote it. And I get the funny f symbol, but not seeing it in the title block. I have a feeling it is something ridiculously stupid....! Yikes.
Thanks for trying

Sent from my Verizon 4G LTE Smartphone
0 Likes
Message 4 of 11

Anonymous
Not applicable

YOUR PARAMETER MUST BE MARKED FOR EXPORT ALSO

0 Likes
Message 5 of 11

samspade
Advocate
Advocate

The only check mark box i am seeing in the parameters dialog is for Key... seems like there was another one somewhere, sometime that is not there now. I am doing this all inside a dwg that has an assembly in it...

 

thanks for the help

0 Likes
Message 6 of 11

samspade
Advocate
Advocate

ok, there is no Export Parameter column, is that because it is a user parameter, or possibly because it is text vs. a number?

 

thanks again

0 Likes
Message 7 of 11

Anonymous
Not applicable
Accepted solution

I don't do anything inside the drawing but iLogic will get you what you want

 

iProperties.Value("Custom", "JOBNUMBER")= Parameter("JOBNUMBER")
iLogicVb.UpdateWhenDone = True

 

Set an event trigger before save

Message 8 of 11

samspade
Advocate
Advocate

oh well i actually started out with this rule, and i do have an event trigger set up as well. i really don't get it. seems like it should just be so simple and it has become a 2 hour project...

 

thanks for trying

0 Likes
Message 9 of 11

samspade
Advocate
Advocate

forgot to put the rule in:

 

iProperties.Value("Custom", "JOBNAME") = JOBNAME
iProperties.Value("Custom", "JOBNUMBER") = JOBNUMBER
iProperties.Value("Custom", "JOBFINISH") = JOBFINISH

 

0 Likes
Message 10 of 11

Anonymous
Not applicable

Works fine for me

0 Likes
Message 11 of 11

samspade
Advocate
Advocate

ok, I added the word parameter like you said in the rule, and voila, it works now. i guess that was the deal breaker.

thanks for your perserverance and seeing me through to the bitter end!!

 

Thank you and Good Day!!

0 Likes