Results 1 to 7 of 7

Thread: Import a CSV file into a selection set

  1. #1
    Member
    Join Date
    2017-08
    Posts
    4
    Login to Give a bone
    0

    Unhappy Import a CSV file into a selection set

    Hello, I'm trying to insert a csv file into selection set so that I can name/number a MEP Objects.
    What's the best way to do that?

  2. #2
    Past Vice President / AUGI Volunteer peter's Avatar
    Join Date
    2000-09
    Location
    Honolulu HI
    Posts
    1,109
    Login to Give a bone
    0

    Default Re: Import a CSV file into a selection set

    I guess I do not know what you mean insert a csv file.

    A csv file is ascii data that can be attached to a selection set.

    OK so you have a selection set of MEP objects, is there some way to reference them to the data in the csv file?

    Is there a property of the MEP object that is in the csvfile like a name or index?

    Can you post the csv file example and the drawing file example?

    P=
    AutomateCAD

  3. #3
    Member
    Join Date
    2017-08
    Posts
    4
    Login to Give a bone
    0

    Default Re: Import a CSV file into a selection set

    Quote Originally Posted by peter View Post
    I guess I do not know what you mean insert a csv file.

    A csv file is ascii data that can be attached to a selection set.

    OK so you have a selection set of MEP objects, is there some way to reference them to the data in the csv file?

    Is there a property of the MEP object that is in the csvfile like a name or index?

    Can you post the csv file example and the drawing file example?

    P=
    The csv file will include the distance from a selected point and the data needed to create a Selection set. Whatever that data is. At one point I had the x,y,z coords of the hangers. I used that data to insert text at the coords.

  4. #4
    I could stop if I wanted to
    Join Date
    2005-06
    Location
    CORDOBA-ARGENTINA
    Posts
    275
    Login to Give a bone
    0

    Default Re: Import a CSV file into a selection set

    Please upload the dwg and csv

  5. #5
    Member
    Join Date
    2017-08
    Posts
    4
    Login to Give a bone
    0

    Default Re: Import a CSV file into a selection set

    Quote Originally Posted by peter View Post
    I guess I do not know what you mean insert a csv file.

    A csv file is ascii data that can be attached to a selection set.

    OK so you have a selection set of MEP objects, is there some way to reference them to the data in the csv file?

    Is there a property of the MEP object that is in the csvfile like a name or index?

    Can you post the csv file example and the drawing file example?

    P=
    Example CSV file
    <VLA-OBJECT IAcadSelectionSet 0000000057e60198>,12
    <VLA-OBJECT IAcadSelectionSet 0000000057e60198>,18
    <VLA-OBJECT IAcadSelectionSet 0000000057e60198>,24
    <VLA-OBJECT IAcadSelectionSet 0000000057e60198>,35
    <VLA-OBJECT IAcadSelectionSet 0000000057e60198>,45
    Attached Files Attached Files
    Last edited by markjk2017; 2017-08-25 at 03:03 AM.

  6. #6
    Member
    Join Date
    2017-08
    Posts
    4
    Login to Give a bone
    0

    Default Re: Import a CSV file into a selection set

    Does anyone have any example code to insert data into a selection set? Thanks for help.

  7. #7
    I could stop if I wanted to
    Join Date
    2005-06
    Location
    CORDOBA-ARGENTINA
    Posts
    275
    Login to Give a bone
    0

    Default Re: Import a CSV file into a selection set

    Please , at last but not least, Show us WHAT data to WHAT selection set

    I guess that are doing it by hand, or what is you idea.

    Your HANGER DRAWING show nothing , your CSV neither

    We can help, if you help us to know what you need , what you have , before and after.

Similar Threads

  1. 2013: "Import detected no valid elements in the file's paper space. Do you want to import from the model space?
    By thomasmerrittgibson397439 in forum Revit Architecture - General
    Replies: 3
    Last Post: 2013-07-05, 06:53 PM
  2. World File import - File path length limitation
    By carl.lowrey in forum AutoCAD Map 3D - Import/Export
    Replies: 2
    Last Post: 2013-01-17, 08:25 PM
  3. HOW TO IMPORT SO MANY IMAGES IN A DRAWING IN ONE SELECTION
    By shoaibazeem2003 in forum AutoLISP
    Replies: 1
    Last Post: 2010-01-21, 11:37 AM
  4. Import AutoCAD file = huge Revit file
    By rob.127056 in forum Revit Architecture - General
    Replies: 10
    Last Post: 2006-12-04, 02:23 PM
  5. File selection dialog box
    By jgratton in forum CAD Management - General
    Replies: 5
    Last Post: 2005-01-20, 08:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •