AutoCAD Plant 3D General DIscussion

AutoCAD Plant 3D General DIscussion

Reply
Valued Mentor
dennis
Posts: 708
Registered: ‎07-29-2005
Message 1 of 4 (413 Views)
Accepted Solution

P3D 2012 - File Name Format

413 Views, 3 Replies
08-09-2012 12:31 PM

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?

Product Support
Dan.Scales
Posts: 298
Registered: ‎03-05-2010
Message 2 of 4 (339 Views)

Re: P3D 2012 - File Name Format

09-04-2012 02:02 AM 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
Active Contributor
SrPiper
Posts: 31
Registered: ‎06-06-2009
Message 3 of 4 (41 Views)

Re: P3D 2012 - File Name Format

08-19-2014 02:11 PM in reply to: dennis

Hi

 

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

 

thanks

Valued Mentor
dennis
Posts: 708
Registered: ‎07-29-2005
Message 4 of 4 (9 Views)

Re: P3D 2012 - File Name Format

08-22-2014 08:33 AM 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.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions to get help installing your software.

New AutoCAD Plant 3D Category!

The AutoCAD Plant 3D forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.