AutoCAD Plant 3D Forum
Welcome to Autodesk’s AutoCAD Plant 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Plant 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

P3D 2012 - File Name Format

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
dennis
874 Views, 5 Replies

P3D 2012 - File Name Format

I want to do something a little different than what the default interface seems to be able to do for File Name Format.  I want to concantenate different data: Project Number - DWGType - DWGNumber - Sequence Number where Project Number is the same number entered on the Project Details, DWGType is a list of letters <example; D=PID, A=Architectural, I=Iso., and DWGNumber is the same as the number added in on the Properties of the DWG itself, Sequence is just user entry numbers <001, 002, etc>.  And here is the kicker, I only want to put this data in once.  I can get it to do what I want provided I am willing to fill out the info twice.

So, is there a way to create a field in P3D File Name Format that will concatenate other fields together to produce the name I am after?

5 REPLIES 5
Message 2 of 6
Dan.Scales
in reply to: dennis

Hi Dennis,

 

You can use the command PLANTDEFINECALCPROPERTIES to combine properties.

 

I have not tested using it to create a file name format as it is an undocumented and unsupported command so you will really need to try it yourself.

 

Hope this helps.

 

Thanks,
Dan



Dan Scales
Message 3 of 6
SrPiper
in reply to: dennis

Hi

 

did you solve this file name format problem using the PLANTDEFINECALCPROPERTIES command?

 

thanks

Message 4 of 6
dennis
in reply to: SrPiper

No, the File Name Format cannot access any Field or Drawing Properties data directly.  I ended up writing some .NET code to do what I wanted.

Message 5 of 6
ae_m44
in reply to: dennis

can you tell me please how to do that?
AE
Message 6 of 6
berimahcroffie
in reply to: dennis

Can you please share your code? or how you did this?

 

I am searching for exactly the same.

 

Thanks in advance.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost