File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -689,6 +689,7 @@ async function selectiveLoadingTest(viewer: Autodesk.Viewing.GuiViewer3D): Promi
689689 await viewer . waitForLoadDone ( ) ;
690690
691691 const propHashes = await fakeLoadedModel . getPropertyHashes ( ) ;
692+ const propHashesWithFiltering = await fakeLoadedModel . getPropertyHashes ( / n a m e / , / c a t e g o r y / ) ;
692693 viewer . unloadDocumentNode ( fakeLoadedModel . getDocumentNode ( ) ) ;
693694
694695 const matches = JSON . stringify ( query ) . matchAll ( / ( [ " ' ] ) \? ( [ \w \d \s ] + ) \1/ g) ;
Original file line number Diff line number Diff line change @@ -783,7 +783,7 @@ declare namespace Autodesk {
783783 needsExternalId ?: boolean | undefined ;
784784 } ,
785785 ) : Promise < PropertySet > ;
786- getPropertyHashes ( ) : Promise < string [ ] > ;
786+ getPropertyHashes ( nameRE ?: RegExp , categoryRE ?: RegExp ) : Promise < string [ ] > ;
787787 geomPolyCount ( ) : number ;
788788 getDefaultCamera ( ) : THREE . Camera ;
789789 getDisplayUnit ( ) : string ;
You can’t perform that action at this time.
0 commit comments