Skip to main content

Hi,

I am doing DWG to DWG translation filtering only points using geometry filter, If i am not exploding blocks into entities, points are not visible in written DWG file, But if i am exploding it i am able to see points in CAD along with polygons and text.

Thanks in advance.

new-folder.zip

 

Please find attached Workbench and sample data, I am able to see the points flowing in workbench but unable to see in data inspector.

 

 


Hi,

Do you want blocks as point?


Hi @dheeraj,

Please, see the attached and tell me if your good for you.

Thanks, point.zip

Danilo


Hi @dheeraj,

Please, see the attached and tell me if your good for you.

Thanks, point.zip

Danilo

Yes, Its perfectly fine, Please tell me process.

 

 


Yes, Its perfectly fine, Please tell me process.

 

 

Great @dheeraj. I'm happy that i did help you!

 

About the process:

 

1) I created a Generate Workspace and set the parameters : Reader and Writer -

 

Workflow Options: Dynamic Schema

 

2) And inserted the transformer GeometryFilter.

 

 

Attached the Workspace Template.

 

 

Thanks, workspace-dwg.fmwt

 

Danilo

Hi @dheeraj,

Please, see the attached and tell me if your good for you.

Thanks, point.zip

Danilo

But the same process i was following..nothing extra in this workbench...what is the reason it was not working in my workbench?

 

 


But the same process i was following..nothing extra in this workbench...what is the reason it was not working in my workbench?

 

 

Yes the same process. In your Workspace the Reader is: AutoCAD RealDWG File:

 

Did you run the Workspace template that i sent you?

 

 


Hi @dheeraj,

Please, see the attached and tell me if your good for you.

Thanks, point.zip

Danilo

I got it, you have not unchecked explode block into entities, In my case of data i have to uncheck the option, My question is why it is not coming if i Do not explode block into entities, That i have already mentioned in question that it is working fine if i check the "explode block into entities"

 


Hi @dheeraj,

Please, see the attached and tell me if your good for you.

Thanks, point.zip

Danilo

@danilo_inovacao.Thanks for your reply, But its also not working in case of Real DWG reader and writer and if i choose real dwg reader/writer, then i will not be able to have attributes in the cad file.

 

Please suggest me appropriate solution.

Hi,

Do you want blocks as point?

Hi @pratap, Yes you are correct, I need full block (Point, Line, Circle) as a point.

 


If you need full block as point feature then untick the below mentioned parameters

1. Use Block Feature Type for Components

2. Explode Blocks into Entities


If you need full block as point feature then untick the below mentioned parameters

1. Use Block Feature Type for Components

2. Explode Blocks into Entities

point-issue.zip

 

Hi @pratap,

 

Thanks for your resolution but I have tried the same and did not work for me, I have attached reference Sample data and workbench. Please check if i am missing something.

Hi @dheeraj, Since you want to represent the blocks from the source dwg as points on the output, for the writer to accept the point output without a template, we'll have to remove the format attributes that indicate to the writer that the features are blocks. I agree with @danilo_inovacao, the option to Explode Blocks into Entities should be unchecked, this will read each block as its insertion point. And if you expose the following format attribute on the reader, and remove them in the workflow (AttributeRemover should work), the writer should be able to write the points as expected: autocad_entity, autocad_original_entity, autocad_original_entity_type, autocad_block_name, autocad_block_number.

 

Please give this a try, and see if it gives you the result you were hoping for. Thanks!

Hi @dheeraj, Since you want to represent the blocks from the source dwg as points on the output, for the writer to accept the point output without a template, we'll have to remove the format attributes that indicate to the writer that the features are blocks. I agree with @danilo_inovacao, the option to Explode Blocks into Entities should be unchecked, this will read each block as its insertion point. And if you expose the following format attribute on the reader, and remove them in the workflow (AttributeRemover should work), the writer should be able to write the points as expected: autocad_entity, autocad_original_entity, autocad_original_entity_type, autocad_block_name, autocad_block_number.

 

Please give this a try, and see if it gives you the result you were hoping for. Thanks!
Hi @XiaomengAtSafe,

 

I have not exposed any of these attributes, You can check in the attached workbench.

 

Thanks in advance.

 


Reply