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

Batch PCG Creation using Autodesk Point Cloud Indexer

10 REPLIES 10
SOLVED
Reply
Message 1 of 11
jwilliams
3909 Views, 10 Replies

Batch PCG Creation using Autodesk Point Cloud Indexer

I need to convert a number of raw point clouds into PCG files for insertion into Revit.  I'd like to do this ahead of time, and preferably without having to open and insert into Revit.  I know Revit uses adpointcloudindexer.exe to index the raw file formats, but was unsuccessful at trying to launch it by itself.  Does anyone know if this can be used as a standalone convertor, possibly by combining the exe with a switch and a file location?

 

 

Joe Williams
Rogers-O'Brien Construction
Revit Gunslinger
10 REPLIES 10
Message 2 of 11
rodney.page
in reply to: jwilliams

I am Rodney Page from Autodesk Product Support. Your question has been escalated to us and we are currently looking into this query regarding a batch utility that converts point cloud files (PCG) to Revit Project Files (RVT).



Rodney Page
Support Specialist
Product Support
Autodesk, Inc.

Message 3 of 11
jwilliams
in reply to: rodney.page

Thanks Rodney.  This is certainly good news, but I just want to be clear that the request was to convert or index raw formats to PCG, not PCG's to RVT; although I see value in that as well.  I look forward to hearing what you guys are thinking.

 

Thanks again.

Joe Williams
Rogers-O'Brien Construction
Revit Gunslinger
Message 4 of 11
rodney.page
in reply to: jwilliams

Apologies for the misunderstanding you meant the scanned raw data, which requires ‘indexing’ into a Revit friendly .pcg file before it can be used and linked in. The other option would be good as well. I am not certain there is a utility available for either, however let me check into it for you.



Rodney Page
Support Specialist
Product Support
Autodesk, Inc.

Message 5 of 11
rodney.page
in reply to: rodney.page

Currently as far as I know there is no batch utitliy available.
One of our Product Support Staff who is attending Autodesk University and in particular a class on Laser Scanning
asked this very question and they were informed that there is no such utility available.
I also checked with the Autodesk Developer Network without success.

As a final suggestion I would recommend putting an enhancement request to us at Autodesk about the addition
of such a feature in a future release of the product. Please go to this hyperlink Enhancement Request
______________________________________________________________

If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!



Rodney Page
Support Specialist
Product Support
Autodesk, Inc.

Message 6 of 11
rodney.page
in reply to: rodney.page

Since thisfeature is not available and is an enhancement request could you kindly please accept the solution.

Thank you.

______________________________________________________________

If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!



Rodney Page
Support Specialist
Product Support
Autodesk, Inc.

Message 7 of 11
jwilliams
in reply to: jwilliams

Here is some info I later received from Kyle Bernhardt at Autodesk:

 

*******************

The indexer program is called AdPointcloudindexer.exe and is located in the Program folder in Revit installation.

 

The command line for the indexer is:

 

AdPointcloudindexer [/batch] [/pluginspath=PathToPluginsFolder] InputFile [OutputFile]

 

Where:

  • InputFile ->  must be specified; all other parameters are optional;
  • OutputFile -> If specified is the resulting PCG file from the conversion. If no file is specified, then the resulting file is same base filename as the input file, and placed in the same folder as the input file. If the output file already exists, a prompt will be provided asking the user if they wish to overwrite it or not.
  • /batch -> causes the following to be true:
    • No progress will be reported as the indexer operates.
    • No end of process reporting will be done.
    • If the output file already exists, an error is generated to stderr and the indexing terminated.
  • /pluginspath -> specifies the folder to look for plugins, default is a folder named “plugins\Point Clouds Codecs” under the folder where the indexer exe resides.

*********************

A simple way to run the indexer using the command line is to go to START, Run..., then drag the AdPointcloudindexer.exe file into the run dialog box, then drag the file you want to convert into the dialog box as well.  With just those two files in the RUN line, you'll get a PCG file with the same name and in the same location as the original file.

 

Joe Williams
Rogers-O'Brien Construction
Revit Gunslinger
Message 8 of 11
rodney.page
in reply to: jwilliams

Thank you for providing and posting that important information from Kyle Bernharde at Autodesk.



Rodney Page
Support Specialist
Product Support
Autodesk, Inc.

Message 9 of 11
KyleB_Autodesk
in reply to: jwilliams

Joe,

Thanks for sharing this with the broader community.  For those interested in trying out the command line approach, it should be know that this is not an offically supported method for using the indexer; this s actually the internal methods we use to call the EXE inside of Revit.

 

This means that while it should work as designed, we do not have any extensive testing on its use outside of Revit, nor are we committed to updating these methods should problems arise.

 

It should be noted that we are aware of a desire from users like Joe to deliver batch indexing capabilities, and we are investigating them in a more managed way than the command line.

 

Cheers,

Kyle B



Kyle Bernhardt
Director
Building Design Strategy
Autodesk, Inc.

Message 10 of 11
orso2006
in reply to: KyleB_Autodesk

Kyle:

I am just now discovering the Adpointcloudindexer post. I would ve extremely interested in utilizing such an indexer. I have noticed that the indexer is currently inside the Revit 2016.

 

I run the exe as described by the descriptions, typing the following at the command line:

AdPointcloudindexer [/batch] [/pluginspath=PathToPluginsFolder] InputFile [OutputFile]

I receive the following error message:

"Indexing failed: Unknown error (code 101). Please be sure all add-ins and supporting files are properly installed and that the file being indexed is of the proper format for the chosen codec."

 

I have tried different input file formats such as: E57, PCG, PTS, TXT, XYZ, CSV. All produce the same error message.

 

Have you progressed any further in making the standalone indexer function?

Any thoughts?

 

Daniel

Message 11 of 11

"Indexing failed: Unknown error (code 101)"

 

Usually this error means that you files located in path with not latin charecter or have some wrong symbols in it.

Place it on simple path like c:\test

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

Post to forums  

Autodesk Design & Make Report


Autodesk Design & Make Report