PXML

PXML

jesper.gustavsson
Explorer Explorer
988 Views
6 Replies
Message 1 of 7

PXML

jesper.gustavsson
Explorer
Explorer

Hi,

 

Is it possible to export the PXML with project number and element mark, based on parameters in the Revit project?

 

Many thanks

 

@teodorb 

0 Likes
989 Views
6 Replies
Replies (6)
Message 2 of 7

jeremytammik
Autodesk
Autodesk

I searched the Internet for PXML and am so far unable to guess what you mean by that.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 7

jeremytammik
Autodesk
Autodesk

By the way, is this a Revit API issue, or an end user question?

 

Are you doing anything programmatically yourself, or just using the standard Revit user interface?

 

If you are not doing anything programmatically, this is not the best place to ask such a question.

 

Please note that this discussion forum is dedicated to programming Revit using the Revit API.

 

Therefore, you cannot expect an answer to a question such as yours relating to product usage or end user support issues here.

 

You should try one of the non-API Revit product support discussion forums instead for that:

 

https://forums.autodesk.com/t5/revit-api-forum/this-forum-is-for-revit-api-programming-questions-not...

 

The people there are much better equipped to answer your question than us programming nerds.

 

If you are doing it programmatically, please be aware that the Revit API hardly ever supports any functionality that is not also available in the user interface.

 

Please be aware that the Revit API generally only supports functionality that is also available in the user interface.

 

Therefore, if the UI does not support this, the API will probably not do so either.

 

So, it will always help to research the optimal manual approach to a solution first, before attacking the task programmatically.

 

I hope this clarifies.

 

Thank you for your cooperation and understanding.

 

Best regards,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 4 of 7

teodorb
Autodesk
Autodesk

Hi @jesper.gustavsson,

You can use the parameters for PXML in the Configuration. Would you need additional parameters than the ones available there? For the mark number, is the ProdNo parameter enough?

Kind regards,

Bogdan Teodorescu



Bogdan Teodorescu

Product Owner
0 Likes
Message 5 of 7

jesper.gustavsson
Explorer
Explorer

Hi @teodorb and @jeremytammik,

I want to achieve a PXML similar to the "old.png".

It doesn't have to be exactly the same, but the red text is the parameters that I want to change/set.

 

Thanks and best regards,

Jesper

0 Likes
Message 6 of 7

jesper.gustavsson
Explorer
Explorer

I tested to set a value on the ProdNo parameter, but it didn't appear in the PXML file. When I change the header in the file it works with the machine's software, but I only get a list of all the rebars. I need to export more information so I know which project and element mark the rebar belongs to.

 

Best regards, 

Jesper

0 Likes
Message 7 of 7

teodorb
Autodesk
Autodesk

Hi @jesper.gustavsson ,

We would like to learn more about your needs. Would it be possible to contact you in private?

 

Thank you,

Bogdan Teodorescu



Bogdan Teodorescu

Product Owner
0 Likes