HOW TO CONVERT STRING TO 3DENTITY

(3 posts) (2 voices)
  1. sunder3dvia

    veteran
    Joined: Sep '14
    Posts: 278

    Hi All,

    Can anyone tell me how to convert a string data (it is the name of a object , I get it as a string) into 3DEntity to invoke functions of the 3DEntity in VSL.

    Awaiting for reply............

    Posted 2 years ago #
  2. CodeMasterMike

    veteran
    Joined: Feb '08
    Posts: 314

    Best Answer

    You cant simply convert a string into a 3DEntity, but you can use the string as a parameter to get the entity:

    Entity3D FoundEntity = Entity3D.Cast(bc.GetObjectByName(EntityName.CStr()));
    Posted 2 years ago #
  3. sunder3dvia

    veteran
    Joined: Sep '14
    Posts: 278

    Hi CodeMaster Mike

    Thanks a lot for your reply!

    Posted 2 years ago #

Reply

You must log in to post.