Quantcast
Channel: PTC Community : Unanswered Discussions - Creo
Viewing all articles
Browse latest Browse all 8685

visit dimensions from (assembly) drawing

$
0
0

hello,

 

is it possibile to visit dimensions from a assembly drawing and get information about from which PART the dimensions is from? As far as I understand Creo it works as following:

  • open assembly file
  • create new drawing model
  • assembly-model (as one piece/element/whatever) is connected as drawing model

 

If I try to visit dimensions I found "ProDrawingDimensionVisit" for reference (manually added) dimensions in the drawing and "ProDrawingSolidsVisit" for the dimensions from the drawing model. But both methods dont deliver any information from which part the dimension is driven from.

 

E.g. just for assembly model (NOT drawing) it works just fine if I do:

  • traverse through assembly-Model via "ProMdlDependenciesList"
  • for each assembly model run again "ProMdlDependenciesList" (recursion)
  • for each part model, call "ProSolidDimensionVisit"

 

I cant use the same in drawing mode because I need some extra information (like in which view the dimension is) so I have to use "ProDrawingSolidsVisit". But:

  • traverse through assembly-Model via "ProMdlDependenciesList"
  • for each assembly model run again "ProMdlDependenciesList" (recursion)
  • for each part model, call "ProDrawingSolidsVisit"

 

is not working -> "PRO_TK_E_NOT_FOUND"

 

maybe a function to add all assembly elements as drawing model?

 

 

regards


Viewing all articles
Browse latest Browse all 8685

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>