AutoCAD Plant 3D General DIscussion

AutoCAD Plant 3D General DIscussion

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

P3D 2012 - File Name Format

447 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?

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

Product Support
Dan.Scales
Posts: 320
Registered: ‎03-05-2010
Message 2 of 4 (373 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 (75 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: 749
Registered: ‎07-29-2005
Message 4 of 4 (43 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.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
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.

Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!